Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Related Elements

...