Attributes: Inline Groovy Script to Return Array?

53 views
Skip to first unread message

Oscar Frink

unread,
Oct 18, 2018, 4:09:05 PM10/18/18
to CAS Community
The examples and documentation are very clear and show how to return one item, but I cannot figure out how to successfully return an array of items.

For example, one of my attributes is an array of values. I want to mutate the source array and return a new array. The groovy compiler keeps telling me that I have syntax errors, but I cannot find any examples of this online - only the reference example of returning one item. Does anyone know of examples? I tried using the arrow function and that too was not recognized.

Reference:


Reply all
Reply to author
Forward
0 new messages