[jboss-user] [jBPM] - Re: Process Variables Revisited

jnorris do-not-reply at jboss.com
Fri Aug 24 07:17:03 EDT 2012


jnorris [https://community.jboss.org/people/jnorris] created the discussion

"Re: Process Variables Revisited"

To view the discussion, visit: https://community.jboss.org/message/755742#755742

--------------------------------------------------------------
Hi Maciej,

So from what you are saying if the variable has not been set and thus has a null it value, it will not be returned.  If an "approved" variable is created as a Boolean with a value false when defining it in the designer shouldn't that then be "set" and thus show up in the variable list?  It doesn't.  I looked at the xml and don't see it actually getting a false value being set anywhere:

  <itemDefinition id="_approvedItem" structureRef="Boolean" />
  <itemDefinition id="_7DF7FB64-0962-4846-8C2A-17B11D06C7E4-approvedItem" structureRef="Boolean" />
  <itemDefinition id="_545A22D5-CA8A-49DD-B539-9497C0A6D6ED-approvedItem" structureRef="Boolean" />

  <process processType="Private" isExecutable="true" id="test.BasicReview" name="BasicReview" tns:packageName="test" >

    <!-- process variables -->
    <property id="approved" itemSubjectRef="_approvedItem"/>

There are no other references in the file.

Regards,
Jim
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/755742#755742]

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/20120824/3d2b919d/attachment-0001.html 


More information about the jboss-user mailing list