Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16140

Groovy / Javascript capabilities and limitations in scripted decision node

    Details

    • Support Ticket IDs:

      Description

      Hello

      The scripted decision node offers the possibility to either script in Groovy or JavaScript language.

      The AM documentation illustrates some of the scripted decision node functionalities with a sample code in Groovy language only, for instance "using callbacks" , 

      https://backstage.forgerock.com/docs/am/6.5/authentication-guide/#scripting-api-node-callbacks.

      We are receiving some requests from customers asking whether it is possible to achieve the same in JavaScript. So far, we are struggling to answer to that question from a technical perspective and AFAIK the documentation does not seem to cover that.

      As a broader issue, it would be very valuable to enrich the documentation with a note on whether both languages are capable of achieving the same functionalities and to add some illustrations in both languages.

      In the negative, enriching the documentation with a comparative table of the capabilities and limitations of each language, in the context of the scripted decision node use.

      Therefore the customer will have to clear understanding of whether both languages can achieve the same or not, and in the negative, for which use case one language is more suitable than the other.

      Thank you

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris.lee Chris Lee
                Reporter:
                julien.chausse Julien Chausse
              • Votes:
                7 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: