Dmitry Erkin [
https://community.jboss.org/people/dmitry.erkin] created the discussion
"How to get a process instance id within a sequence flow "condition
expression"?"
To view the discussion, visit:
https://community.jboss.org/message/793103#793103
--------------------------------------------------------------
Hello!
My process has a gateway and two outgoing sequence flows. For each flow I want to set up a
condition based on facts stored in a session. The problem is that I can not get a process
instance id:
code like this doe not work:
WorkflowProcessInstanceImpl(id == *kcontext.processInstance.id*, $request:
variables["request"])
Request($id:id) from $request
not exists(Issue(requestid == $id))
sample code from "jbpm5 developer guide":
WorkflowProcessInstanceImpl( $person: variables["person"])
Person( age< 18 ) from $person
looks like it chooses a particular process instance rather by person's age than by
instance id
any ideas?
Regards,
Dmitry Erkin
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/793103#793103]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]