Files
spdm-backend/flowable/jsonTemplate/简单串行流程.json
2025-12-03 15:30:32 +08:00

76 lines
1.7 KiB
JSON

{
"process": {
"id": "simplified_process_001",
"name": "简化版-串行流程:本地应用+HPC+导出报告"
},
"flowElements": [
{
"id": "开始",
"type": "startEvent",
"name": "开始",
"outgoingFlows": ["flow1"]
},
{
"id": "本地应用操作",
"type": "userTask",
"name": "本地应用操作",
"incomingFlows": ["flow1"],
"outgoingFlows": ["flow2"]
},
{
"id": "执行HPC任务",
"type": "serviceTask",
"name": "执行HPC任务",
"incomingFlows": ["flow2"],
"outgoingFlows": ["flow3"],
"extensionElements": {
"executeConfig": {
"executeType": "HPC",
"asyncCallback": true
}
}
},
{
"id": "生成报告脚本",
"type": "serviceTask",
"name": "生成报告脚本",
"incomingFlows": ["flow3"],
"outgoingFlows": ["flow4"],
"extensionElements": {
"executeConfig": {
"executeType": "exportWordScript"
}
}
},
{
"id": "结束",
"type": "endEvent",
"name": "结束",
"incomingFlows": ["flow4"]
},
{
"id": "flow1",
"type": "sequenceFlow",
"sourceRef": "开始",
"targetRef": "本地应用操作"
},
{
"id": "flow2",
"type": "sequenceFlow",
"sourceRef": "本地应用操作",
"targetRef": "执行HPC任务"
},
{
"id": "flow3",
"type": "sequenceFlow",
"sourceRef": "执行HPC任务",
"targetRef": "生成报告脚本"
},
{
"id": "flow4",
"type": "sequenceFlow",
"sourceRef": "生成报告脚本",
"targetRef": "结束"
}
]
}