{
"processDefinitionKey": "string",
"businessCode": "string",
"tenancyCode": "string",
"businessKey": "string",
"initiator": "string",
"commit": true,
"variables": {
"property1": {},
"property2": {}
}
}
curl --location -g --request POST 'http://{{ip}}:9000/process-service/processInstance/startProcessInstance' \
--header 'Authorization: {{AUTH_TOKEN}}' \
--header 'ip: {{ip}}' \
--header 'X-Request-client-type: PC' \
--header 'Content-Type: application/json' \
--data-raw '{
"processDefinitionKey": "string",
"businessCode": "string",
"tenancyCode": "string",
"businessKey": "string",
"initiator": "string",
"commit": true,
"variables": {
"property1": {},
"property2": {}
}
}'
{
"code": 0,
"msg": "string",
"data": {
"processDefinitionKey": "string",
"processDefinitionName": "string",
"processInstanceId": "string",
"taskKey": "string",
"taskId": "string",
"taskName": "string",
"formCode": "string",
"requireParticipants": true,
"owner": "string",
"participant": [
{}
],
"finished": true,
"finishType": "NORMAL",
"businessKey": "string",
"variables": {
"property1": {},
"property2": {}
}
}
}