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

Update rule not triggering when user terminated from Campaign

harishyara
Regular Contributor
Regular Contributor

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.  

harishyara_0-1724350375327.png

is there anything I am missing here ?

19 REPLIES 19

rushikeshvartak
All-Star
All-Star
  • Did you checked logs.
  • Please share logs

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

Hi @rushikeshvartak  - Below is the log snippet I could find. Please check.

harishyara_0-1724354968883.png

 

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##)


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

NM
Esteemed Contributor
Esteemed Contributor

Hi @harishyara try once using advance query.


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

harishyara
Regular Contributor
Regular Contributor

@rushikeshvartak - What is the trigger type I can configure ? is it update from Import or  Update from UI ?

API for testing you can use UI


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

@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 ?

  • Share logs in text file when you have done from UI

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

dgandhi
All-Star
All-Star

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.

harishyara
Regular Contributor
Regular Contributor

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

harishyara
Regular Contributor
Regular Contributor

@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

Amit_Malik
Valued Contributor II
Valued Contributor II

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.

Kind Regards,
Amit Malik
If this helped you move forward, please click on the "Kudos" button.
If this answers your query, please select "Accept As Solution".

Please share full logs in text file


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

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

  • Share screenshot of comments property at user level

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

harishyara
Regular Contributor
Regular Contributor

Please find below screenshot.

harishyara_0-1728403472815.png

 

Does it works if you update from UI


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

It worked when I update comments from UI manually, having update rule with trigger type as : Trigger when user is updated from UI

It will be update query when updated from campaign hence it seems u will not be able to achieve this 


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