[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
Wed Jan 23 14:27:23 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/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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130123/408590e9/attachment.html 


More information about the jboss-user mailing list