ds_release_workflow
Control a workflow's availability by setting it online or offline. Optionally reactivate its schedule when going online.
Instructions
Bring a workflow online or offline.
When bringing online (online=True), auto_online_schedule will also re-activate the associated schedule if it was taken offline (DS takes schedules offline when the workflow goes offline).
Args: project_name: Project name workflow_code: Process-definition code online: True=online, False=offline auto_online_schedule: Auto-reactivate associated schedule when going online (default True)
Returns: { "workflow_code": int, "releaseState": "ONLINE" / "OFFLINE", "schedule_action": str, "schedule_id": int, }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| online | No | ||
| project_name | Yes | ||
| workflow_code | Yes | ||
| auto_online_schedule | No |