Create Process Task Relation
create_process_task_relationCreates dependency links between workflow tasks by defining upstream and downstream task codes, building the DAG structure needed for ordered task execution in DolphinScheduler.
Instructions
创建工作流任务关系
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>",
"processDefinitionCode": "<processDefinitionCode>",
"preTaskCode": "<preTaskCode>",
"postTaskCode": "<postTaskCode>"
},
"name": "create_process_task_relation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preTaskCode | Yes | 上游任务编码 | |
| projectCode | Yes | 项目Code | |
| postTaskCode | Yes | 下游任务编码 | |
| processDefinitionCode | Yes | 流程定义编码 |