1
0
-1
1 answer
- 10-1Hi Fattah, You can using tool, add a tool in your process and at map tools to plugin add bean shell to your tool this simple codeimport org.joget.apps.app.service.AppUtil;import org.joget.workflow.model.service.*;public void changeWV(){WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");wm.activityVariable(workflowAssignment.getActivityId(), "yourVariable", "newValue");}return changeWV();good luck
- abdul Fattah
it is can work is the "newValue" need to calculate first before go to that value?
- Muhammad Khafidz
You can get exist value of workflow variable use hash variable #variable.yourVariable#
- abdul Fattah
okay i will try it. thank you bro.
- abdul Fattah
but i need to reevaluate first the process right?
Add your comment...
Hai, i have facing with workflow variable when the process already run. Can i change or edit the workflow variable?