This content has been marked as final. Show 1 reply
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