Transform the account data during aggregation using customization rule

Let’s say you have a field in status column in target application and as well as in identity application and you need to transform the value of the field during aggregation.
Suppose in target application status as ‘A’ should be visible as Active is Identity cubes account, then below code can be used as customization rule

//object argument is available as method argument so no need to initialize

String status = object.getAttribute("status");

if(!("A".equals(status)))
  object.setAttribute("status","Disabled");
else
 object.setAttribute("status","Active");

return object;

Comments

Popular posts from this blog

Rules in Sailpoint

Sailpoint Installation Steps (IdentityIQ 7.3 Installation in Windows Machine)

How to develop a Scheduler in OIM