How do I configure email notification for failed Tasks/Events?

Document ID : KB000011315
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

This document describe how to configure email notification for when a Task/Event fails to execute.

For example, if the customer wants to receive email notification if CA Identity Manager fails to create account for user on endpoint, this solution shows how to enable the CA Identity Manager administrator to configure email fail notification on AssignProvisioningRoleEvent.

Prerequisites: this feature is available from IMr12 CR6 and above

Answer:

To configure the Email notification functionality, follow the instructions in the Administration Guide, Chapter 13 "Email Notifications".

To enable email notification specifically for failed Tasks/Events:

From the CA Identity Manager installation folder:

  • Windows: C:\Program Files\CA\ IAM Suite\Identity Manager\tools\emailTemplates

  • UNIX: <home_directory>/CA/ IAM Suite/Identity Manager/tools/emailTemplates

Copy the invalid folder to the application server folder <IdentityMinder.ear>\custom\emailTemplates

This new deployed (invalid) directory contains one or more email templates. When a task or event occurs for which email is enabled, if this Task/Event failed, CA Identity Manager searches the appropriate template directory (in this case the invalid folder) for a template name that is the same as the name of the task or event. If such a template cannot be found, CA Identity Manager uses the default template in the directory in the invalid folder.