Set up a scheduled job for applicant deactivation

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Set up a scheduled job, at regular intervals, to deactivate applicants no longer viable to the system.

    Antes de Iniciar

    Role required: admin

    Procedimento

    1. Navigate to All > System Definition > Scheduled Jobs.
    2. Select MarkApplicantInactive.
    3. View and download the HiringDeleteRoles.xml file from the Applicant Center application page on ServiceNow Store.
    4. Import the XML file in the Script Include [sys_script_include] table.
    5. Opcional: Modify the frequency of the scheduled job in Time and Run.
    6. Opcional: Change the Value of the system property (sn_ta_hiring_core.markApplicantInactive.noOfDays).
      The base system value to mark an applicant as inactive is 30 days.
    7. Mark the Active check box as enabled and select Update.
      Nota:
      The base system condition of the scheduled job is active. You can deactivate it.

    Resultado

    The applicant records are deactivated.
    Nota:
    If a deactivated applicant applies again using the same email id that was earlier used to create the sys-user record, all the existing roles are deleted and an external applicant role is assigned during reactivation. For this to happen, you must download the HiringDeleteRoles.xml file from the Applicant Center application page on ServiceNow Store.