Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
It only takes a couple of lines of code for you to set the value into a workflow variable. The coding is as below.:
Code Block |
---|
import org.joget.workflow.model.service.*;
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.activityVariable(workflowAssignment.getActivityId(),"status", "Approved"); |
The Joget Marketplace has a free plugin called the Workflow Variable Update Process Tool . This is a process tool to easily update any number of workflow variables in your process. With this tool, you now do not need to use a BeanShell script.