Need to get autotask or notification or whenever a Service Owner CMDB gets off-boarded

Sofiya Perumal
Tera Expert

Hi Team,

 

We have a field called Service Owner in CMDB. Whenever, the Service Owner's account gets disabled we have to get a task or notification automatically.

 

Do we have any feasibilities to do this?

 

Regards,

Sofiya

1 REPLY 1

Runjay Patel
Giga Sage

Hi @Sofiya Perumal ,

 

You can do the following to achieve this.

  1. Create Async BR on user table and trigger once user marked as in-active.
  2. In BR GlideRecord on table on which you have created field and find out the records while passing the sysid of user like gr.addQuery('u_service_owner', current.sys_id);
  3. If you find a record then trigger the notification.
  4. Create event based notification.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------