[jboss-user] [jBPM] - Boolean Process Variables are not mapped in Users Tasks?
Christian Witschel
do-not-reply at jboss.com
Sun Sep 2 03:48:36 EDT 2012
Christian Witschel [https://community.jboss.org/people/cwitschel] created the discussion
"Boolean Process Variables are not mapped in Users Tasks?"
To view the discussion, visit: https://community.jboss.org/message/757452#757452
--------------------------------------------------------------
Dear All,
I am facing another issue, this time in the process variables and users forms area.
I have declared a Boolean process variable approveBusiness.
This variable is not present or represented in the process startup form, of course because first someone needs to make his request and then it is approve in a second step.
So next after the process started it comes to a user task with a form called BusinessApproval. the Atuomatically generated form works nice, it recognized the boolean and created a checkbox.
I created the Output variable Approve of type Boolean and in Assinments i have Approve is mapped to approveBusiness.
However after the User Task of Approval is completed approveBusiness is not existing at all.
Next i tried to include approveBusiness as a hidden input in the process startup form with a default of false. Now there is a process variable called approveBusiness, but it will stay false and is of type String no matter what happens in the approval user form.
What Am I doing wrong?
BPMN is attached.
Also I found that whatever form variables are in the process startup form will become process instance variables, even if they were not declared.
Cheers
Christian Witschel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/757452#757452]
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/20120902/15e3fa3f/attachment.html
More information about the jboss-user
mailing list