Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/25/2023 09:10 AM
Can we create a user update rule, which should create a disable account task 10days after user is disabled?.
I have used condition something like users ststuskey=0, And action as Disable user accounts, execute on 7 days(example). But Its creating disable account task today only.
please let me know if there's any other way to do it.
Solved! Go to Solution.
07/25/2023 09:25 AM
@Saviynt_learner even though task is created today, it will be processed on the 7th day itself. You can check this in the arstasks table. use the below query.
select taskkey,startdate from arstasks where taskkey=<taskkey>
07/25/2023 11:18 PM - edited 07/25/2023 11:20 PM
07/25/2023 11:21 PM
Can you pls share the rule configurations?
07/25/2023 11:23 PM
07/25/2023 11:31 PM
@Saviynt_learner the configurations looks good. Seems to be a bug. Please raise a Freshdesk ticket for Saviynt to debug further.
07/25/2023 09:58 AM
Hi @Saviynt_learner ,
Task would be executed on 10th day, if you provided "execute on 10 day" in update rule, even though task is created today. If executed on 10th day in rule not worked, then you can use below approach for the same.
Create detective update rule and use below condition in it with Action Disable Account. Make sure to schedule detective rule run job everyday.
(datediff(curdate(), a.enddate)=10)
Assuming enddate having the date on which user is disabled in Saviynt.
07/25/2023 12:43 PM
Try below config.
It will create task on same day but the task will be processed on day 7.
You can confirm that with below query
select taskkey,startdate from arstasks where taskkey=<taskkey>
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.