System.out.println("Entering into Leaver Event Rule : ");
String status = newIdentity.getAttribute("status");
System.out.println("status : "+status);
if(status != null){
if(status.equalsIgnoreCase("Terminated Employee")){
boolean flag = true;
System.out.println("Entering into Leaver Event Rule : "+flag);
return flag;
}
else {
boolean flag = false;
System.out.println("Entering into Leaver Event Rule : "+flag);
return flag;
}
System.out.println("Exiting from the Leaver Event Rule : ");
}
No comments:
Post a Comment