and more in a single search tool across platforms. Read the announcement here. |
11/13/2023 10:07 AM
Hi Experts,
We have a requirement where if a User is been flaged with Do Not Disable, we should not be disabling its Account.
As part of Termination, we have enabled the User Termination from import as a result when User is terminated, it automatically generates Remove Account Task for all the applications and does not checks for flag.
We are thinking to add a condition to check the flag in RemoveAccountJSON and not to take any action.
Currently below is our RemoveAccount JSON in AD :
{
"removeAction": "${(task.source == 'ANALYTICS_V2')?'DELETE':'SUSPEND'}",
"deleteAllGroups": "Yes",
"userAccountControl": "546",
"accountExpires": "${if(user.enddate != null){10000*(user.enddate.getTime() + 11644473600000)} else {if(user.termDate != null){10000*(user.termDate.getTime() + 11644473600000)}else{'0'}}}"
}
I have tried to add a check in above code but it is not working:
11/13/2023 10:12 AM
WHat is error in logs
11/15/2023 04:07 AM
@rushikeshvartak , its a syntax error I a getting
I tried above code and also below, Still I am getting same error