-
1. Re: bsh and logical operators
saviola May 16, 2006 2:16 AM (in response to aksharma)How about the exception? Can you post a stack trace or something?
As a beginning I think the varibale name (TEST1) should be in single quotas.
What is this '@' sign for before the 'or'. -
2. Re: bsh and logical operators
aksharma May 16, 2006 4:18 AM (in response to aksharma)rg.jbpm.graph.def.DelegationException
at org.jbpm.graph.def.GraphElement.raiseException(Unknown Source)
at org.jbpm.graph.def.GraphElement.raiseException(Unknown Source)
at org.jbpm.graph.def.Node.execute(Unknown Source)
at org.jbpm.graph.def.Node.enter(Unknown Source)
at org.jbpm.graph.def.Transition.take(Unknown Source)
at org.jbpm.graph.def.Node.leave(Unknown Source)
at org.jbpm.graph.node.StartState.leave(Unknown Source)
at org.jbpm.graph.exe.Token.signal(Unknown Source)
at org.jbpm.graph.exe.Token.signal(Unknown Source)
Tries with quotes ..No luck
@ is because of the bsh construct
&& gives JPDL exceotion -
3. Re: bsh and logical operators
saviola May 16, 2006 10:00 AM (in response to aksharma)Try like this:
<condition expression="#{contextInstance.variables.TEST1 ne null @or contextInstance.variables.TEST2 ne null}">
I am not sure about the@or
construct usage.