Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi Tiensoon,
I have seen one of your post for fetching the workflow variable and you have mentioned that it can be achieved using Java api and provided the below code snippet,
import java.util.*; import org.joget.workflow.model.service.*; Collection list = new ArrayList(); WorkflowManager workflowManager = (WorkflowManager) pluginManager.getBean("workflowManager"); String usernames = workflowManager.getProcessVariable(workflowActivity.getProcessId(), "abc"); // get workflow variable value using Java API String delimeter = "|"; StringTokenizer str = new StringTokenizer(usernames, delimeter); while(str.hasMoreTokens()){ String temp = str.nextToken(); //System.out.println(temp); list.add(temp); } return list;
In the above code, i have a doubt
Please provide me the above clarification asap, so that it would be of very much helpful for completing a POC.