Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Email Generation Rule

indrahema95
Regular Contributor
Regular Contributor

Hi, 

We have a email generation rule in place. Now based on one attribute value we want to trigger it only. So accordingly we have build a user update rule. But the email is generating even if the rule is not satisfying. The rule is: When user attribute = yes then generate mail. How to configure it in a way so it will not trigger email generation for users who don't have user attribute != yes. 

12 REPLIES 12

Manikanta_S
Saviynt Employee
Saviynt Employee

Hello,

Did you check what were results in Preview when creating user update rule ?

Thanks & Kind Regards,
Manikanta.S

Hi,

I got "No Matching Record Found".

jayasudha
Saviynt Employee
Saviynt Employee

Hi,

Can you please share the screenshot of the rule. Because for the user update rule to get trigered we need to update a user attribute but in this case i dont find any user attribute getting updated. How are you trigering the rule?

Regards,

Jayasudha R

one_mail.PNG

 

Three_mail.PNG

 

Two_mail.PNG

 This is for user register form. There is a dynamic attribute which I have created. It stores yes or no in cp30. Based on that I have created the rule. 

Hi,

When you give user.customproperty=yes, it does not trigger the rule. Could you please let me know how are you trigerring the rule. Are you running any job to trigger? Can you please check in execution trial if it is getting trigerred or not. What I suspect is this rule is not trigered but you are getting emails because of some other rule which is already in place.

Regards,

Jayasudha R

Let me get this straight. In global config-->Identity Lifecycle-->email generation rule I have created. It is creating email for users created through register form or csv upload. That is fine. Now suppose I don't want to generate mail id for some set of users based on some attribute value, eg: city. How do I do that?

Hi @jayasudha, any suggestions for the above question? 

Trigger action when in this case is when user updated from ui .; change as per your requirements 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak , The problem is I am trying to stop generating email for all type of users. So, when the rule is satisfying it is triggering it but when the rule is not invoked it is also generating mail. Do we have a way so that I can stop generating mail for certain type of users? 

Use advanced query and specify when not to create email 

like users.cp30 =‘Yes’ and user.employeetype not in (‘emp’)


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi @rushikeshvartak 

Thanks, that part worked. But with normal query we can auto increment easily. But do you have any suggestion how we can auto increment in advanced query?

Use case when then end  sql logic


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.