[jboss-user] [jBPM] - Re: Unable to fire rules before and after human task using same rule flow group
Ted Pan
do-not-reply at jboss.com
Fri Oct 12 14:13:00 EDT 2012
Ted Pan [https://community.jboss.org/people/ted.pan] created the discussion
"Re: Unable to fire rules before and after human task using same rule flow group"
To view the discussion, visit: https://community.jboss.org/message/764632#764632
--------------------------------------------------------------
I know this post is 2-month old. My answer may be useful for other people.
as mentioned by Mauricio, the rule will be only fired once if there is nothing change.
You can use a dumy object to re-activiate the rule, for example,
in human task 1's exit actions, add the following script:
kcontext.setVariable("TEST",System.currentTimeMillis());
and then change your rule to add the following script to LHS
eval($processInstance.getVariable("TEST")!=null)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/764632#764632]
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/20121012/e01a8c33/attachment.html
More information about the jboss-user
mailing list