Context on managed object attribute with onStore script

This topic has 0 replies, 1 voice, and was last updated 1 month, 1 week ago by Peter.

  • Author
  • #28422

    When I am using an onStore Groovy or Javascript script which is assigned to an attribute of a managed object I would like to know which attribute I called the onStore with.

    I can work around it by passing a variable called “attr” in the script but that seems a bit that there isn’t something in the “request” or “object” objects to indicate which attribute caused the onStore to be called.

    return = object["${attr}"].toUpperCase();

    Is there another way to see what the attribute is that I am using when calling the onStore script against a particular attribute as I need to perform the same function against a number of attributes.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?