Hello Everyone,
New in this forum and Camunda world. I am writing BPMN model in Camunda8. My use case was to invoke the flow and do some orchestration. But I am stuck at the very first point.
How to send payload (request body) to my REST Connector. I know there is one option in Modeler, but my payload will be dynamic.
The previous component before REST Connector is “Start Event” which I am triggering programmatically after deploying.
How am I triggering?
client.getClient().newCreateInstanceCommand()
.bpmnProcessId("restAPIDemo")
.latestVersion()
.variables(application)
.send()
.join();
The request payload I have mentioned in modeler is
{
"customername" : customername,
"dob" : dob,
"mobilenumber" : mobilenumber,
"emailid" : emailid,
"postcode" : postcode
}
and I see the same JSON in my Operate window.
I cant use Form before REST Connector.
If any info is missing to debug the issue, kindly revert.