I’m at a loss here.
I was under the impression that the workflow engine uses Groovy to interpret any java code you enter but some operators fail the syntax check.
For example if I attempt to create a list using groovy syntax.
def clientlist = t];
this will cause a syntax error stating that “h“ is unexpected.
Fine I can work around that by doing
def clientlist = xpath:{/workflow/select/clients}
Where the xpath points to a list, but it will not allow me to do something such as
clientlist.each{
random stuff
more random stuff
additional random stuff
}
I don’t mind using Javascript but some things are easier in Java and I kind of assumed that I could just follow Groovy syntax to make sure stuff worked.
What am I missing?