Once device get's deleted from AD update install status as retired in servicenow CMDB_CI_Computer

rmishra4395
Tera Contributor

Hello Everyone,

 

I have created a flow where i am calling OOTB action called as "Delete Object" which deletes the object from AD. I want that once the object get's deleted from AD then the install status of that particular cmdb_ci_computer should be as retired.

 

Description:

On cmdb_ci_computer table i have created a UI action named "Remove AD Object" once we click on this button event get's generated and request item for that particular computer get's created and i have created a flow to delete the object from AD so once the object get's get deleted from AD then request item state changes to close complete. also i want to update cmdb_ci_computer install status as retired.