[jboss-user] [jBPM] - Re: afterProcessCompleted() not firing when last workflow task is business rule

cold gin do-not-reply at jboss.com
Mon Apr 29 14:21:49 EDT 2013


cold gin [https://community.jboss.org/people/cold_gin] created the discussion

"Re: afterProcessCompleted() not firing when last workflow task is business rule"

To view the discussion, visit: https://community.jboss.org/message/810821#810821

--------------------------------------------------------------
Sorry it took so long to get back, as I was running some tests on this issue. I was able to solve my problem by doing the following in my process event listener:

 public void afterNodeTriggered(ProcessNodeTriggeredEvent event) {
     ksession.fireAllRules();
    }

This advances the process when a business rule task is encountered. This post pointed me in the right direction towards calling fireAllRules():

 https://community.jboss.org/message/627263#627263 https://community.jboss.org/message/627263

And thanks for replying Demian

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810821#810821]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130429/e68c0f61/attachment.html 


More information about the jboss-user mailing list