I would like to use a random number in one of my OUAF Service Scripts.
Do you know if the random function is implemented in the Framework and what would be the syntax ?
I tried many things with and without “Math.” prefix or "xs:" and "fn:" namespaces with rand() or random() function :
move "round(xs:double(Math.random() * 1000))" to $h;
But nothing worked, giving me an exception like "Detail: unknown function 'Math.random"…
Thanks in advance,