Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/10/2022 02:09 AM
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.
11/10/2022 02:20 AM
Hello,
Did you check what were results in Preview when creating user update rule ?
11/10/2022 03:34 AM
Hi,
I got "No Matching Record Found".
11/10/2022 03:18 AM
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
11/10/2022 03:39 AM
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.
11/10/2022 04:09 AM - edited 11/10/2022 04:17 AM
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
11/10/2022 04:27 AM
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?
11/10/2022 11:35 PM
Hi @jayasudha, any suggestions for the above question?
11/10/2022 11:37 PM
Trigger action when in this case is when user updated from ui .; change as per your requirements
11/10/2022 11:42 PM
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?
11/10/2022 11:44 PM
Use advanced query and specify when not to create email
like users.cp30 =‘Yes’ and user.employeetype not in (‘emp’)
11/15/2022 09:31 AM
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?
11/15/2022 09:41 AM
Use case when then end sql logic