0 Replies Latest reply on Dec 17, 2012 9:32 AM by Mapa4-Oracle

    OUAF and XPath

    Mapa4-Oracle
      Hi All,
      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,
      Kind regards

      Edited by: Mapa4 on 16 déc. 2012 23:46

      Edited by: Mapa4 on 16 déc. 2012 23:48

      Edited by: Mapa4 on 16 déc. 2012 23:51

      Edited by: Mapa4 on 17 déc. 2012 10:32