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

Compare with Current View Page History

Version 1 Current »

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 ,

  • No labels