I have a Camunda process called partnerPortal. This accepts 3 variables as,
{
"variables": {
"userId" : {
"value" : "user1"
},
"userName" : {
"value" : "childProtect"
},
"accountType" : {
"value" : "ideamart"
}
}
}
I call this process using Camunda rest-engine with the endpoint "engine-rest/process-definition/key/{processId}/start" using a separate spring-boot application. My requirement is, I want to return data from the Camunda-engine to the external spring-boot application when the process completes (Just like a regular API call).
For example, if I start the process using "engine-rest/process-definition/key/partnerPortal/start", I want to receive a JSON array from the Camunda engine to the spring-boot application.