Workflows: step update
workflows_step_updateUpdate a workflow step's name or parameters, or enable a disabled step, while keeping its action and links. Read current parameters first because new parameters replace them entirely.
Instructions
Update step parameters and properties. Changes a step's name, params or enabled flag and keeps its action, start flag and links; it can enable a step but not disable one. Params replace the step's parameters as a whole, so read them with workflows_step_get first; to change which step runs next, use workflows_step_link. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Step name | |
| params | No | Step parameters as JSON | |
| enabled | No | Enable this step | |
| step_id | Yes | Step ID | |
| workflow_id | Yes | Workflow ID. Find it with workflows_list. |