vro_save_action
Creates or updates a VCF Orchestrator action by module and name, auto-bumping versions on updates and starting new actions at 1.0.0.
Instructions
Create or update an action (upsert by module/name). Script must be plain ES5 JavaScript (no arrow functions, let/const, template literals, etc.) — Orchestrator runs Rhino. Omitted inputs/returnType keep the existing ones on update. Versions are always maintained: new actions start at 1.0.0, every update bumps the patch version unless version/bump is given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bump | No | Auto-bump level when version is omitted (default patch) | |
| name | Yes | ||
| inputs | No | ||
| module | Yes | e.g. com.mayank.lab | |
| script | Yes | ||
| version | No | Explicit x.y.z. Omit to auto-bump: new = 1.0.0, update = patch+1 | |
| returnType | No | e.g. string, Properties, Array/string, VC:VirtualMachine, void | |
| description | No |