[jboss-user] [jBPM] - Re: How can we compare null in the jpdl file

Michael Wohlfart do-not-reply at jboss.com
Wed Nov 10 05:18:46 EST 2010

Michael Wohlfart [http://community.jboss.org/people/mwohlf] created the discussion

"Re: How can we compare null in the jpdl file"

To view the discussion, visit: http://community.jboss.org/message/570444#570444

Hi Bo,
I stumbled over this problem too,
there is a comment in OpenExecution.java that seems to indicate that jBPM4 doesn't distinguish between variables with a null value and nonexisting process variables:

/** retrieve the value for the given key.
   * The value can be null.
   * If there is no value for the given key, the returned 
   * value will also be null.  The value for key <code>null</code>
   * will always be null as null keys are not allowed. */
Object getVariable(String key);

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101110/831fa944/attachment.html 

More information about the jboss-user mailing list