This content has been marked as final.
Show 2 replies
-
1. Re: afterProcessCompleted() not firing when last workflow task is business rule
calca Apr 26, 2013 10:31 AM (in response to cold_gin)Hey,
Is your rule task being fired?
-
2. Re: afterProcessCompleted() not firing when last workflow task is business rule
cold_gin Apr 29, 2013 2:21 PM (in response to cold_gin)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
And thanks for replying Demian