Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.activityVariable(workflowAssignment.getActivityId(),"VARIABLE", "VALUE");
Hi, there is not enough information to help. Where is the beanshell code used, and are there exceptions in the logs? Depending on situation, you could try using WorkflowManager#processVariable instead.
Hi anders, I used the beanshell code in beanshell tool in multi tool in process and in the same multi tool I want to use this variable as post parameter in json tool . and there is no exceptions in the logs and I tried process variable also but it didn't work
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.processVariable("#assignment.processId#","StartTime", "60");
I tried Setting Workflow Variable Value in Process Tool Bean Shell and Workflow Variable Update Process Tool but it doesn't work and I don't know why it doesn't work.
and below is my code in bean shell
import org.joget.workflow.model.service.*;
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.activityVariable(workflowAssignment.getActivityId(),"StartTime", "60");