Hi,
I am trying to use a message task to halt the bpmn process while I wait for a callback. I read the documentation and forums to see that I need to use a messageName, businessKey, and process variables. I saw the sample payload would look something like this…
{“messageName” : “aMessage”,
“businessKey” : “aBusinessKey”,
“correlationKeys” : {
“aVariable” : {“value” : “aValue”, “type”: “String”}
},
“processVariables” : {
“aVariable” : {“value” : “aNewValue”, “type”: “String”},
“anotherVariable” : {“value” : true, “type”: “Boolean”}
}
}
- I believe the messageName is the name in the messageTask on the bpmn flow.
- Where do I get the businessKey from?
- If I set a processVariable will I be able to get it from execution.getVariable(“variableName”) in the code?
- What is the URL i would send this POST request to?