ds_release_workflow
Bring a workflow online or offline and optionally reactivate its associated schedule when going online, keeping workflow release state and schedules synchronized.
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, }
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>",
"workflow_code": "<workflow_code>"
},
"name": "ds_release_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| online | No | ||
| project_name | Yes | ||
| workflow_code | Yes | ||
| auto_online_schedule | No |