[jboss-user] [JBoss jBPM] - script problem
peterah
do-not-reply at jboss.com
Thu Nov 1 22:36:44 EDT 2007
Hi, this is part of my processdefinition.xml
<task-node name="Administration">
amount = amount + 10;
System.out.println("The amount is "+ amount);
</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 and to do that, but the problem is it's not possible to enter the and 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=4101133#4101133
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101133
More information about the jboss-user
mailing list