Time for me to go sleep, after working for almost 8 longs hours in Rules :) Stay Healthy and Safe.Covid - 19
Some time in Sailpoint IIQ we have to handle the Null object. It take sometime for me, how to handle the Null and it was always throwing the error message while running the Identity refresh.
Below is the example how to manage the Null object in Rule
import sailpoint.object.Identity;
String a = identity.getAttribute("Department");
if(a == null)
{
return "Null";
}
else if( a == "onepass") {
return "onepass";
}
else
{
return "Not one pass";
}
Java if..else..if statement.
Some time in Sailpoint IIQ we have to handle the Null object. It take sometime for me, how to handle the Null and it was always throwing the error message while running the Identity refresh.
Below is the example how to manage the Null object in Rule
import sailpoint.object.Identity;
String a = identity.getAttribute("Department");
if(a == null)
{
return "Null";
}
else if( a == "onepass") {
return "onepass";
}
else
{
return "Not one pass";
}
Java if..else..if statement.
if (expression1) { // codes } else if(expression2) { // codes } else if (expression3) { // codes } . . else { // codes }
Nice Blog!! thanks for sharing this content
ReplyDeleteSalesforce CPQ Online Training Hyderabad
Salesforce CPQ Online Training India