Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/20/2024 08:12 AM
Hi Team,
We have usecase when ever ENDDATE is passed we will computed enddate as blank and it should updates account expiry as never at AD target.
Note: Tasks are created and completed but its not updated at target.
See AD Updatejson :
"accountExpires": "${if((user.employeeType.equals('Contractor'))&(user?.enddate!=null)){10000*(user?.enddate.getTime()+11644473600000+18400000)} else {'0'}}",
05/21/2024 06:40 AM
Hi @Sreejith,
We are checking on your request and we will keep you posted.
05/21/2024 06:44 AM
Hi @Sreejith,
Kindly try below Json and please share the screen shot of the logs:-
"accountExpires": "${if((user.employeeType.equals('Contractor'))&(user?.enddate!=null)){'0'} else {10000*(user?.enddate.getTime()+11644473600000+18400000)}}"
05/23/2024 10:00 PM
{
"accountExpires": "${if((user.employeeType.equals('Contractor')) && (user?.enddate != null && !user?.enddate.equals(''))){10000 * (user?.enddate.getTime() + 11644473600000 + 18400000)} else {0}}"
}