Theshold for deactivating users in based on ExitDate

Hi,

I'm implementing a mechanism to lower the risk of mass-deactivation of users. In our environment we are importing an updating users from HR, and deactivating based on the ExitDate with the default process VI_Person_Deactive_ExitDate_Expired. We are not deleting users in the HR-sync, and is therefore unable to use the quota-feature of the sync editor.

My initial thought is to modify VI_Person_Deactive_ExitDate_Expired and add a step that counts entities affected by the process (with the same query as the first step in the process), and then check if this number is larger than a set threshold. We then need to pause the process, send an alert, and wait for manual response before deciding to continue or cancel the process. 

Does this sound like a good approach, or does anyone have experience with simlar use-cases? Is it possile to pause a process and continue based on manuel input?

Parents Reply
  • In our data model, an employee can have several employments (with different managers etc.) represented by objects in PersonInDepartment. One of these employments are marked as primary, and data from this primary employment is then pushed to Person with a table script. 

    In the sync we are inserting and updating ExitDate (and other field relevant to the users employment) from HR to custom fields in PersonInDepartment. Then data from the primary employment is pushed to Person.

Children