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