Hi,
Which variables are available to the OR-Split Ecma script ? Some examples under /etc/workflow/scripts and this doc use variables such as metaData, workItem, args which do not seem to available to Or-Ecma script.
In particular, i want to access a variable, inserted by a preceding process step (as shown below).
workItem.getWorkflow().getMetaDataMap().put("next_step", "3");
How can this data "next_step" be accessed in a later occurring OR-Split Ecma script to make some decision about the routing?
Thanks,