You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »


This is probably the most commonly asked question of all time.

It only takes a couple of lines of code to set the value into a workflow variable:


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


  • No labels