[jboss-user] [JBoss jBPM] - Re: script problem
peterah
do-not-reply at jboss.com
Thu Nov 1 23:01:46 EDT 2007
sorry, looks like some parts of my message somehow missing
Hi, this is part of my processdefinition.xml
<task-node name="Administration">
| <event type='node-enter'>
| <script>
| amount = amount + 10;
| System.out.println(amount);
| </script>
| </event>
| </task-node>
amount is a process variable.
for example initial value of amount is 10
when script is executed. it printed the right value of amount (added 10), but when entering next task node, the amount is is going back to 10.
How can I make change to amount that persist to next node?
I know I can use variable and expression to do that, but the problem is it's not possible to enter variable and expression via JBPM jpdl designer.
JBPM jpdl designer only give me option to input the script only, not the variable and expression.
I'm using the latest JBPM 3.2.2 and JBPM jpdl Designer 3.1.0 SP1
Thanks for any help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101137#4101137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101137
More information about the jboss-user
mailing list