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&...]