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