Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
I use two ways to try to get workflow variable by beanshell in participant of workflow, but all two failed, would you please give some ideas about how to solve this issue.
Code Block |
---|
import org.joget.workflow.model.WorkflowActivity;
import org.joget.apps.app.service.AppUtil;
import org.joget.workflow.model.service.*;
//way 1
WorkflowManager wm = (WorkflowManager) pluginManager.getBean("workflowManager");
wm.activityVariable(workflowAssignment.getActivityId(), "status", "variableValue");
//way 2
String status= "#variable.status#";
System.out.print("===status===" + status);
|
Thanks
Gene