I am trying to trigger event sub process(can be started by message start event) using rest api and i am getting 400 as http response Can someone help me to sort this issue.
The local variables you’re using will also have a problem - they probably don’t exist in the context that the message will be received. You should take them out and it should work.
Also take a look in camunda’s own logs for a details about the error
Camunda Error log:
ENGINE-16004 Exception while closing command context: Cannot correlate message ‘startConsume’: No process definition or execution matches the parameters
org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: Cannot correlate message 'unknownMessage': No process definition or execution matches the parameters
org.camunda.bpm.engine.MismatchingMessageCorrelationException: Cannot correlate message 'unknownMessage': No process definition or execution matches the parameters
at org.camunda.bpm.engine.impl.cmd.CorrelateMessageCmd.execute(CorrelateMessageCmd.java:88) ~[camunda-engine-7.13.0-ee.jar:7.13.0-ee]