cancel
Showing results for 
Search instead for 
Did you mean: 

Email Alert Form IDM When Some Set Of Business Roles Are Assigned To User

Former Member
0 Kudos

Hi Experts,

How to get a Email alert from IDM when some set of business roles are assigned to user.

Thanks

Aman

Accepted Solutions (1)

Accepted Solutions (1)

jaisuryan
Active Contributor
0 Kudos

Hi Aman,

I would create a task in the last step of your approval workflow to check if the concerned business role is raised and approved and if true, to send email notification using uSentSMTPMessage function (It may consume few more seconds for processing) or use triggers as Simona Lincheva said above. Thanks.

Kind regards,

Jaisuryan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Aman,

 

If you want to get an immediate notification, when a set of business roles are assigned to a user, you can use a trigger. Each time when a role is assigned to a user you should check for the specified set of roles and if needed to trigger the notification (set a flag to trigger the notification).   

 

BR,

Simona

Former Member
0 Kudos

Hi Aman,

If its a type of "notify if roles A, B, C and D are assigned to one and the same user" you have a couple of options.

The easiest is to do it with a job running on a schedule (once an hour/day/week/whatever) that queries the link views. Then use the output and the SendMessage blog thing Matt linked to (might be even be one I wrote) to send notifications.

This query will list all users with both of the two assignments in the list. Exand the list and increase the count as needed. Not that elegant but it works pretty good:


select mcThisMskey,count(mcUniqueid) from idmv_link_ext

where mcOtherMskeyValue in ('PRIV:SYSTEM:GENREP1','PRIV:GENREP1:ONLY')

group by mcThisMskey

having count(mcUniqueId) = 2

Build on it to get the information you need for the notification. You can also prevent such assignments using the "Mutual Exclusions" option on roles, or GRC for more advanced checks.

Another option is to add such checks in the Validate task of the role that checks the users existing and pending assignments.

Br,

Chris

former_member2987
Active Contributor
0 Kudos

Aman,

Take a look through the IDM blog and you should see lots of information on Notifications.  I found this one fairly quickly. Also if you look through the Operations Guide and Landscape documents, among others posted on the Documentation site, you should find some more good information.

Regards,

Matt