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

WSRETRYJOB not picking up disable account tasks

Ivan5533
New Contributor III
New Contributor III

Hello to all,

I am having problems to disable accounts in AD, I have configured DISABLEACCOUNTJSON and the task is created correctly as attached in the screenshots, but when I run the JOB WSRETRYJOB, it seems that it does not take them into account.

DISABLEACCOUNTJSON:

{
"deleteAllGroups":"Yes",
"userAccountControl":"514",
"moveUsertoOU":"${if(user.employeeType.equals('Internal')){'OU='+user.customproperty20+',OU=Users_inactive,OU=xx,OU=xx,DC=xx,DC=xx'} else {'OU=Users_inactive,OU=external,OU=xx,DC=xx,DC=xx'}}",
"password": "${randomPassword}"
}

 

JOB:

Capture4.PNG

 

Tasks:

Capture5.PNG

As you can see in the picture, the task update date is not updated when I run the job, so I don't get any errors either.

Can you help me to solve this? Am I missing something?

Thank you very much in advance

6 REPLIES 6

armaanzahir
Valued Contributor
Valued Contributor

@Ivan5533 

 

Can you share the logs for this? Is there any query that is defined in the advanced section of this wsretry job trigger?

 

Regards,
Md Armaan Zahir

Ivan5533
New Contributor III
New Contributor III

Yes, but there are no errors in the logs and there is no query in the advanced section.

 

@Ivan5533 did you try by removing the selected options in job trigger?

SumathiSomala_0-1700750129878.png

Also check task execution hierarchy in Global configuration(Keep to default)

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

@SumathiSomala I have removed the selected options you mention and the task is still not executed.

Also task hierarchy in the global configuration is empty.

Regards,

Iván

rushikeshvartak
All-Star
All-Star

Does connection is successful ?

Can you try advanced query for specific user ?

how many disable account task for AD application are in queue


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

Hi @rushikeshvartak 

Does connection is successful ?

the connection is successful, in fact, I can create accounts in ad with this job but the disable ones are not taken into account.

Can you try advanced query for specific user ?
Yes, which advanced query do you want me to use?

how many disable account task for AD application are in queue
Currently we have left one in the task queue, just for test purposes, but I can generate as many as necessary.

 

Thank you and regards,

Ivan