Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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 ,