[jboss-user] [jBPM] - Re: How to get a process instance id within a sequence flow "condition expression"?

Dmitry Erkin do-not-reply at jboss.com
Thu Jan 24 08:41:43 EST 2013


Dmitry Erkin [https://community.jboss.org/people/dmitry.erkin] created the discussion

"Re: How to get a process instance id within a sequence flow "condition expression"?"

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

--------------------------------------------------------------
https://community.jboss.org/people/swiderski.maciej *Maciej*,

In my case 

        $processInstance : WorkflowProcessInstance()
        $request : Request($id:id) from $processInstance.getVariable("request")
not (exists (Issue(requestId == $id)))



is not a rule but the flow condition in a jbpm process.

So does that condition return "true" for the process instance "A" (requestId==1) if there are not any issues like Issue(requestId==1) in the session but there is another process instance "B" (requestId==2) *in the same session* and there are some issues like Issue(requestId==2) in the session as well?


Regards,
Dmitry Erkin
--------------------------------------------------------------

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

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/20130124/6169aed7/attachment.html 


More information about the jboss-user mailing list