Can we send an email notification to Robotic ID owner's when they are aggregating to SailPoint

Hi All,

I just need an advise on can we send an email notification to Robotic ID/any ID owner’s which are aggregating to SailPoint from Azure AD using Account Aggregation Task?

Please advise on this. If yes, please suggest how can we do that. Thanks.

Regards,
Venu

Maybe you can use a custom rule that would send out email for the identity when running the task

Hello @Venu1010,
You can set up email notifications for each task.

Thank you. Can I have the sample rule for the same please?

Can I have the answer for it please?

Hi @Venu1010,

When aggregating Robotic IDs, if it is not correlated to existing Identity, you can use the creation rule to trigger an email notification. However, the owner of the Identity cannot be determined within this rule because the “manager” attribute is automatically set to false during the creation process.

Please refer the below logic.

import sailpoint.object.EmailOptions;
      import sailpoint.object.EmailTemplate;
      import sailpoint.object.Identity;

     String id= account.getStringAttribute("id");    //display Attribute


         if ( id != null ) {
    
         if(id.startsWith("ROBOTID")){    //robot id expression

        EmailTemplate emailTemplate = context.getObjectByName(EmailTemplate.class, templateName);   // repace with actual template
         EmailOptions emailOptions = new EmailOptions();
    	 emailOptions.setTo("To Address"); 
       
        context.sendEmailNotification(emailTemplate, emailOptions);

}
             identity.setName(id);
                 
               
            }

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.