How to modify Service Now to Flag tickets of terminated employees

CISAtrained
Tera Contributor

Good Morning.

 

My search in the Service Now Community for a solution has been unsuccessful.

Employees terminate all the time and some of their tickets are not closed by the submitters. (Yes, a training issue) 

 

As we begin to work any ticket, we check to confirm the employee is still on board by clicking the record. 

When no record is found, we double check Azure Active Directory. 

 

Since user information flows from Azure Active directory, how take the additional step to flag tickets when the user account in Azure Active Directory is disabled?

 

Our goal is to close out these tickets promptly if the submitter (yes, we would use this to train them also) does not. 

1 REPLY 1

Pascal Verdieu
Mega Sage

Well first you can change the incident (and other tables, as needed) caller_id to filter out Inactive users, so that stops users from creating new incidents.

You could also create a flow that triggers when user's [sys_user] active status changes to false and have the flow do whatever you want it to do (email created by, close incident, add notes, etc.)