AnsweredAssumed Answered

Trigger Intermediate Message Event

Question asked by sai576 on Apr 29, 2014
Latest reply on May 6, 2014 by trademak
    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();

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 from where i need to trigger this in my workflow.

Thanks & Regards
Sai Kumar R