• pryton posted an update 4 years, 2 months ago

    @sazzadul

    You can access the Target object in just using it is already provided.

    https://backstage.forgerock.com/docs/idm/5/integrators-guide/#script-triggers-sync.json (the third row in the table)

    Here is how you can make it visible in logging:

    `#in JAVASCRIPT:
    logger.info(“\n\nTARGET:\n”+JSON.stringify(target,undefined,2)+”\n\n”);
    # in Groovy
    import static groovy.json.JsonOutput.*
    logger.debug(“\n\nTARGET:\n”+prettyPrint(toJson(target))+”\n\n”)`

©2022 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?