Write Update Process Instance
write_update_process_instanceUpdate a process instance's task definitions, task relations, global parameters, timeout, and schedule settings in DolphinScheduler; optionally sync the changes to the process definition.
Instructions
updateProcessInstance
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": {
"projectCode": "<projectCode>",
"id": "<id>",
"taskRelationJson": "<taskRelationJson>",
"taskDefinitionJson": "<taskDefinitionJson>",
"syncDefine": "<syncDefine>"
},
"name": "write_update_process_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 路径参数 id | |
| timeout | No | PROCESS_TIMEOUT | |
| locations | No | 流程实例节点坐标位置信息(json格式) | |
| syncDefine | Yes | 更新流程实例的信息是否同步到流程定义 | |
| projectCode | Yes | 路径参数 projectCode | |
| globalParams | No | PROCESS_GLOBAL_PARAMS | |
| scheduleTime | No | 定时时间,空字符串表示当前天 | |
| taskRelationJson | Yes | TASK_RELATION_JSON | |
| taskDefinitionJson | Yes | 任务定义JSON |