Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hello there,
Can anyone please tell me how can one use returned variables from a bean shell plugin activity in the process? For example, I have Activity A which is mapped to a bean shell script which returns a value of '5'. How can I use that value in the workflow if it is returned by the activity?
Thanks!
William
2 Comments
Hugo
Hi there,
Please see Setting Workflow Variable Value in Process Tool Bean Shell.
Cheers.
William Bellia
Thanks Hugo, but I am more asking about an example similar to this:
List<String> l = new ArrayList<String>();
l.add("test");
return l;
Assuming that I have the following beanshell script assigned to an activity, how may I use the returned variable l please? Should it affect sub flow variables only?
Thanks