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
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
Hi, I would like to know how do I use a transform that doesn't require an input,
ReplyDeletefor example :- Get Reference Identity Attribute transform,
it requires no input, but how do I use it within my identity profile ?
Hi do you provide sailpoint training
ReplyDelete