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/793862#793862 -------------------------------------------------------------- Hello, Maciej ! It says: Unable to resolve ObjectType 'exists' if I try to build a package which includes a process with the expression you suggested: $processInstance : org.drools.runtime.process.WorkflowProcessInstance() $request : Request($id:id) from $processInstance.getVariable("request") not exists(Issue(requestid == $id)) My first question is what is wrong with "exists"? Secondly, are you sure that "$processInstance : org.drools.runtime.process.WorkflowProcessInstance()" would give me just one fact which represents current instance in case there are many instances are inserted in a session as facts? I really appreciate your efforts, thank you Regards, Dmitry Erkin -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/793862#793862] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user