AnsweredAssumed Answered

Error on start process instance by message

Question asked by samueel on Sep 20, 2016
Latest reply on Sep 22, 2016 by samueel
[h2] My Activiti Engine version: 5.16.1 [/h2]

[h2] I have the following Exception[/h2]


Caused by: org.activiti.engine.ActivitiObjectNotFoundException: Cannot start process instance by message: no subscription to message with name 'msgIniciarPublicacaoBoletim' found.



When I use (In java code)

 runtimeService.startProcessInstanceByMessage(nameMessage,businessKey,(Map<String, Object>)variable);


Args content:
nameMessage = msgIniciarPublicacaoBoletim
businessKey = 20/09/2016
variable = null

[h2] My bpmn snippet code with the message [/h2]

 <bpmn2:message id="Message_1" name="msgIniciarPublicacaoBoletim"/> 



Does anybody knows what's could happen?

Outcomes