Transform rule in Sailpoint IdentityNow with if else logic

Below is the sample transform rule with if-else logic.
It is self explanatory feel free to comment if you have any questions.

{
   "attributes":{
      "terminationDate":{
         "attributes":{
            "values":[
               {
                  "attributes":{
                     "attributeName":"TERMINATION_DATE",
                     "sourceName":"Workday"
                  },
                  "type":"accountAttribute"
               },
               "empty"
            ]
         },
         "type":"firstValid"
      },
      "value":"#if($terminationDate != 'empty')Terminated  #else Active#end"
   },
   "id":"Transformer-Name",
   "type":"static"
}


Creating Transform rule using postman client

HTTP Method: POST
END POINT:
https://<IDENTITYNOW_INSTANCE_NAME>.api.identitynow.com/cc/api/transform/create
Body:
content type raw type application/json

Authorization: Bearer access token

You can get access token by Navigating to https://<INSTANCE NAME>.identitynow.com/ui/session in the browser


Updating Transform rule using postman client

HTTP Method: POST
END POINT:
https://<INSTANCE NAME>.api.identitynow.com/cc/api/transform/update
Body:
content type raw type application/json
Authorization: Bearer access token



Comments

  1. Hi, I would like to know how do I use a transform that doesn't require an input,
    for example :- Get Reference Identity Attribute transform,

    it requires no input, but how do I use it within my identity profile ?

    ReplyDelete
  2. Hi do you provide sailpoint training

    ReplyDelete

Post a Comment

Popular posts from this blog

Rules in Sailpoint

Sailpoint Installation Steps (IdentityIQ 7.3 Installation in Windows Machine)

How to create provisioning plan in Sailpoint