Skip to Content
avatar image
Former Member

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

Hi Experts,

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

Thanks

Aman

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 25, 2014 at 02:13 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 24, 2014 at 01:32 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2014 at 11:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2014 at 12:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded