AnsweredAssumed Answered

Trigger Intermediate Message Event

Question asked by sai576 on Apr 29, 2014
Latest reply on May 6, 2014 by trademak
Hi,
    I am using intermediate message event in my workflow.Check the my sample workflow below attachment.Now my problem was i am trying to trigger the message event subscription through

Execution messageExecution = runtimeService.createExecutionQuery().messageEventSubscriptionName("interRef").singleResult();
runtimeService.messageEventReceived("interRef",messageExecution.getId());

in service Task but it throws NullPointerException. What i understood correctly after completion of service task only 'intermediate message event("interRef")' will come into the act_ru_event_subscr so then only it will trigger.so from where i need to trigger this in my workflow.

Thanks & Regards
Sai Kumar R

























http://www.getaheadofthegames.com/best-match-3-games

Attachments

Outcomes