Workflow A
Flow_0m1x6u0
Flow_1cos1t1
Flow_03t79t2
Flow_03t79t2
Flow_0m1x6u0
Flow_1yad392
http://haproxy.oais-proxy-network/engine-rest/message
{
"messageName": "Message_Workflow_B_start",
"businessKey": "${execution.getProcessBusinessKey()}",
"processVariables": {
"created-by-user": {
"value": "${execution.getVariable("created-by-user")}",
"type": "String"
},
"parent_process_id": {
"value": "${execution.getProcessInstanceId()}",
"type": "String"
}
},
"resultEnabled": true
}
POST
application/json
application/json
${statusCode}
${headers}
${response}
http-connector
Flow_1yad392
Flow_1cos1t1
Workflow B
def duration = 10;
println "waiting (" + duration + " seconds)...";
sleep(duration * 1000);
println "waiting done";
Flow_0q1j7eu
Flow_0s5jqcg
http://haproxy.oais-proxy-network/engine-rest/message
{
"messageName": "Message_Workflow_B_finished",
"businessKey": "${execution.getProcessBusinessKey()}",
"processInstanceId": "${parent_process_id}",
"processVariables": {
"Msg_from_Workflow_B": {
"value": "default",
"type": "String"
}
},
"resultEnabled": true
}
POST
application/json
application/json
${statusCode}
${headers}
${response}
http-connector
Flow_0nisaee
Flow_0s5jqcg
Flow_0nisaee
Flow_0q1j7eu