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

  • No labels

2 Comments

  1. 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