modify_workflow
Update existing compliance workflows using YAML specifications to modify states, activities, conditions, and transitions within governance processes.
Instructions
Modify an existing workflow using YAML definition.
The workflow ID (UUID) is required to identify which workflow to modify. This function updates an existing workflow with a new YAML specification. The YAML should define the workflow structure including states, activities, conditions, and transitions. Always display the workflow diagram and confirm with the user before executing this tool.
BEFORE using 'modify_workflow' tool, you MUST check:
Do I have the complete CCow workflow YAML schema?
Do I know the exact state configuration requirements?
Do I understand the data flow and variable reference patterns? If the answer to ANY of these is "no", respond with: "I need CCow workflow schema knowledge to properly implement this workflow. Please provide the workflow YAML specification, state definitions, and integration patterns before I proceed with modify_workflow."
Args: workflow_yaml: YAML string defining the updated workflow structure workflow_id: ID of the workflow to modify
Returns: Success message or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_yaml | Yes | ||
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |