Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Remove Retired Related items from Business Applications

jackinsidend
Tera Guru

We have many items in our cmdb_rel_ci table, that relate servers to their services.

These show nicely in a business application, you can see all the servers that make up that application.

However, if we retire a server, it still shows there. I can delete that record from the table, but wondered if there is a way to configure it to not show non operational servers.

Thanks,

Jack

1 ACCEPTED SOLUTION

jackinsidend
Tera Guru

I created a flow that runs daily, the queries for decommed servers in the relationship table, updates the comment field on the server record with the old relationship and then deleted the record.

Seems like a decent solution for now.

Thanks,
Jack

View solution in original post

5 REPLIES 5

jackinsidend
Tera Guru

I created a flow that runs daily, the queries for decommed servers in the relationship table, updates the comment field on the server record with the old relationship and then deleted the record.

Seems like a decent solution for now.

Thanks,
Jack