We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Extend validity of service account by 6 months

reshma_sonawane
New Contributor III
New Contributor III

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

 

3 REPLIES 3

Manu269
All-Star
All-Star

@reshma_sonawane in ars task table there is column name SOURCE. Can you try exploring that if the same can be used?

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

Manu269
All-Star
All-Star

Refer Database Schema Reference (saviyntcloud.com) 

Arstasks Source Types

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

rushikeshvartak
All-Star
All-Star

 

(task.requestKey==null && (task.source=='PROVRULE' || task.source=='ZERODAY'))


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.