ServiceNowDevProgram / code-snippets

ServiceNow's Code Snippets community repository, managed by the Developer Program and the sndevs community.
https://github.com/ServiceNowDevProgram/Hacktoberfest
289 stars 659 forks source link

Update Inactive Application Owner with their Manager #1606

Closed pallipoina92 closed 4 weeks ago

pallipoina92 commented 4 weeks ago

This code snippet will update the owner of application records in the cmdb_ci_appl table where the current owner is inactive. It specifically sets the owner to the manager of that inactive owner, ensuring that each application has an active owner assigned.

Lacah commented 4 weeks ago

👏🏻 🎃 👏🏻