Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Inactive user status for set of users using custom query

PeterRaja
New Contributor
New Contributor

Hi Saviynt Team,

We are trying to identify the users based on their dept and want to mark their user status to be inactive.

This will be a continues process to do everyday. We looking for some sort of automation using the custom query job. But custom query job is deprecated and the enhanced query also restricted to the users table updates.

Can you suggest alternate option to work in the system ?

 

Regards,

Peter

 

3 REPLIES 3

CR
Regular Contributor III
Regular Contributor III

@PeterRaja  We have user update rules, based on condition you can do it.

sample :

CR_0-1709125401142.png

 

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

AmitM
Valued Contributor
Valued Contributor

HI @PeterRaja , you said it will be a daily activity assuming daily your user import job will overwrite the status, if thats correct understanding ? if yes :

  • Best is to toggle status in inline preprocessor , that way it will remain inactive and no need of daily clean ups. And any new entry with dep will be inactivated and never activated until dep changes
  • Do it via API / Java. You can create a Java jar and schedule it run daily. 
    • {{url}}/ECM/{{path}}/user?q=accountExpired:0&fields=firstname,lastname,username&sort=username&order=desc&offset=2&max=2
    • Then, {{url}}/ECM/{{path}}/updateUser
  • If nothing works , you can have either detective rule job or normal user update rule on import job but I would not run daily same rules on same users.

Thanks,

Amit

If this answers your query, Please ACCEPT SOLUTION and give KUDOS.

rushikeshvartak
All-Star
All-Star

Below are options

  • User Update rule with disable account action 
  • Report Creation and using sav4sav use user import json
  • Extensible jar
  • User update rule with updateUser task

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