What problem does it solve?
Simplifies and automates the creation of Yida process-enabled forms by combining form creation, conversion to workflow form, processCode retrieval, and workflow configuration into a single governed operation, eliminating manual multi-step errors.
Core Features & Use Cases
- One-step process creation: Create a new form and publish it as a workflow form or convert an existing form into a workflow-enabled form while obtaining formUuid and processCode.
- Safety and validation: Enforces explicit user confirmation before execution, requires fetching real fieldId values via yida-get-schema, and persists created identifiers to .cache/<project>-schema.json.
- Automatic workflow adjustments: Auto-configures field permissions when fields ≥ 3 and approval nodes ≥ 2, and adds route rules for loops or rollbacks; provides clear error handling and retry guidance.
Quick Start
Run the create-process command to create or convert a form into a workflow, confirm the form title, process configuration, and target app, then capture the returned formUuid and processCode.