and more in a single search tool across platforms. Read the announcement here. |
11/30/2023 05:01 AM
Hi Team,
Currently i have implemented extending validity of service account for AD using dynamic attribute with below json in update account and it is working fine. I want to add a condition where validity can be extended for 6 months if update account task is triggered through user update rule. Can anyone suggest how to do it?
"accountExpires": "${if(Extend_Validity != null){10000*(Date.parse('dd-MMM-yyyy',Extend_Validity).getTime() + 11644473600000)} else {'0'}}"
Thanks,
Reshma
11/30/2023 07:48 AM
@reshma_sonawane in ars task table there is column name SOURCE. Can you try exploring that if the same can be used?
11/30/2023 07:51 AM
Refer Database Schema Reference (saviyntcloud.com)
11/30/2023 09:32 PM
(task.requestKey==null && (task.source=='PROVRULE' || task.source=='ZERODAY'))