Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hello Guys ,
I am trying to get a variable into beanshell programming by using :
WorkflowManager workflowManager = (WorkflowManager) pluginManager.getBean("workflowManager");
String users = workflowManager.getProcessVariable(workflowAssignment.getProcessId(), "userlist");
But i am having this error :
Sourced file: inline evaluation of: ``import org.joget.apps.form.model.; import org.joget.apps.form.lib.; import org . . . '' : Typed variable declaration : Attempt to resolve method: getBean() on undefined variable or class name: pluginManager : at Line: 33 : in file: inline evaluation of: ``import org.joget.apps.form.model.; import org.joget.apps.form.lib.; import org . . . '' : pluginManager .getBean ( "workflowManager" )
Do i need to change pluginManager.getBean("workflowManager"); into something else ?
Thank for your help. Best ,