curl --location --request GET 'https://open-auth.tezign.com/open-api/standard/v1/queryProcessDefinition'
{
"code": "0",
"message": "success",
"result": [
{
"id": 1,
"category": "PORTAL_PUBLISHMENT",
"name": "试一下6",
"nodes": [
{
"key": "initiator",
"name": "发起",
"category": "INITIATOR",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "task1",
"name": "审批1 单签",
"category": "APPROVAL",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "task2",
"name": "审批2 单签",
"category": "APPROVAL",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "portal_publish",
"name": "分发",
"category": "PORTAL_PUBLISH",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
}
],
"sequences": [
{
"from": "initiator",
"to": "task1"
},
{
"from": "task1",
"to": "task2"
},
{
"from": "task2",
"to": "portal_publish"
}
]
},
{
"id": 3,
"category": "PORTAL_PUBLISHMENT",
"name": "试一下",
"nodes": [
{
"key": "initiator",
"name": "发起",
"category": "INITIATOR",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "task1",
"name": "审批1 单签",
"category": "APPROVAL",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "task2",
"name": "审批2 单签",
"category": "APPROVAL",
"config": {
"isTerminable": true,
"multipleMode": "OR"
}
},
{
"key": "portal_publish",
"name": "分发",
"category": "PORTAL_PUBLISH",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
}
],
"sequences": [
{
"from": "initiator",
"to": "task1"
},
{
"from": "task1",
"to": "task2"
},
{
"from": "task2",
"to": "portal_publish"
}
]
},
{
"id": 7,
"category": "PORTAL_PUBLISHMENT",
"name": "测试升级分发看板审批1",
"nodes": [
{
"key": "initiator",
"name": "发起",
"category": "INITIATOR",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
},
{
"key": "task1",
"name": "审批1 或签",
"category": "APPROVAL",
"config": {
"isTerminable": true,
"multipleMode": "OR"
}
},
{
"key": "portal_publish",
"name": "分发",
"category": "PORTAL_PUBLISH",
"config": {
"isTerminable": true,
"multipleMode": "SINGLE"
}
}
],
"sequences": [
{
"from": "initiator",
"to": "task1"
},
{
"from": "task1",
"to": "portal_publish"
}
]
}
]
}