[jboss-user] [jBPM] - Re: Migration from 4.3 to 5.2

Heiko Tappe do-not-reply at jboss.com
Fri May 4 04:26:47 EDT 2012


Heiko Tappe [https://community.jboss.org/people/tdtappe] created the discussion

"Re: Migration from 4.3 to 5.2"

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

--------------------------------------------------------------
Thanks Maciej. I went for the Drools approach with conditional events. And it works  :) 
Well - kind of. The problem is: how does the rule refer only to those facts that belong to this process?

Did I make myself clear enough?

For instance one of my conditions looks like this:

Order(tasksComplete == true)

But of course this fires for each process instance as long as there is at least ONE order fact in the whole knowledge base that has its tasks completed.
It probably should look something like this (pseudo code):

Order(tasksComplete == true, id = process.getVariable("orderId"))

I know that some time ago I saw some thread somewhere about a similar topic. But I can't find it any longer  :(( 
IIRC it was about inserting the WorkflowProcessInstance as a fact and include it into the LHS of the rule!?
Is this the way to go? And how exactly would I have to do it?
--------------------------------------------------------------

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

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/20120504/13c80282/attachment.html 


More information about the jboss-user mailing list