Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/22/2024 11:16 AM
Team - We have a use case where if any user is terminated from Campaign (User Manager) we need to trigger an update rule which will deprovision all the user access.
For this I have configured below update rule. After user is terminated from campaign this rule is not getting triggered. Please note that I tried with below conditions using two trigger types Update from Import and Update from UI but rule is not getting triggered.
is there anything I am missing here ?
08/22/2024 12:02 PM
08/22/2024 12:29 PM
08/22/2024 01:20 PM
You have issue with configuration. Please share full logs in text format and change rule to advanced configuration
a,statuskey=0 AND a.comments like '%terminated through Certifications%' AND (##a.comments isupdated##)
08/22/2024 01:10 PM
Hi @harishyara try once using advance query.
08/23/2024 04:13 AM
@rushikeshvartak - What is the trigger type I can configure ? is it update from Import or Update from UI ?
08/23/2024 05:22 AM
API for testing you can use UI
08/23/2024 08:33 AM
@rushikeshvartak - I tried with Avd config with trigger type as Updated from UI and also Updated from Import but both of them are not working, do I need to try with Update from API as well ?
08/23/2024 08:59 AM
08/23/2024 10:53 AM
Did you check if user comments is getting updated? Can you try using advance query and if it works?
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
08/26/2024 07:38 AM
Hello @rushikeshvartak - here is the log
hql userupdate --select a.id from Users a where a.id=30 AND (( 1 = 1 ) AND ( a.comments like '%terminated through Certification%' ) AND 1=1 ) |
hql userupdate --select a.id from Users a where a.id=30 AND (( 1 = 1 ) AND ( a.comments like '%terminated through Certification%' ) AND 1=1 ) executed |
08/26/2024 07:42 AM - edited 08/26/2024 07:43 AM
@dgandhi - Yes, I also tried same comments (like Users are being terminated through Certification -#####101010#####[Test_Campaign - 10000 (Test User)] on -Mon Aug 26 14:18:19 UTC 2024) from UI maually from User Details, update rule is triggering but when I terminate user from campaign it's not triggering
08/26/2024 08:01 AM
Hi @harishyara ,
1) create a rule that triggers through API, Trigger type is API. Use advance config
a.comments like '%terminated through Certification%' AND (##a.comments isupdated##)
2) update a user using Saviynt REST API, updateuser
3) check if rule runs
4) check if same works with campaign, if not, raise a ticket with Saviynt
Thanks,
Amit
If this answer your query, please ACCEPT SOLUTION.
08/26/2024 08:07 AM
Please share full logs in text file
10/08/2024 07:19 AM
Hi @rushikeshvartak - I could find below logs.
hql userupdate --select a.id from Users a where a.id=30 AND (( 1 = 1 ) AND ( a.comments like '%terminated through Certification%' ) AND 1=1 )
hql userupdate --select a.id from Users a where a.id=30 AND (( 1 = 1 ) AND ( a.comments like '%terminated through Certification%' ) AND 1=1 ) executed
10/08/2024 08:41 AM
10/08/2024 09:04 AM
Please find below screenshot.
10/08/2024 09:29 AM
Does it works if you update from UI
10/08/2024 09:46 AM
It worked when I update comments from UI manually, having update rule with trigger type as : Trigger when user is updated from UI
10/08/2024 09:55 AM
It will be update query when updated from campaign hence it seems u will not be able to achieve this