vro_save_workflow
Create or update an Orchestrator workflow by name/folder from a compact spec of inputs, outputs, attributes, and ordered steps. Builds schema, creates folders, validates, and manages versions.
Instructions
Create or update (upsert by name + folder) an Orchestrator workflow from a compact spec: inputs, outputs, attributes and ordered steps (script tasks, action calls, decisions, ends). Builds the schema, creates the folder path if missing, and validates. Scripts must be plain ES5. Steps flow in array order unless next/ifTrue/ifFalse say otherwise. Versions are always maintained: new = 1.0.0, each update bumps the patch version unless version/bump is given. Set dryRun to only return the generated XML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bump | No | Auto-bump level when version is omitted (default patch) | |
| name | Yes | ||
| steps | Yes | ||
| dryRun | No | ||
| folder | Yes | Workflow folder path, e.g. 'mbcom/Onboarding' (created if missing) | |
| inputs | No | ||
| outputs | No | ||
| version | No | Explicit x.y.z. Omit to auto-bump: new = 1.0.0, update = patch+1 | |
| attributes | No | ||
| description | No |