Service Desk Practitioners Forum
cancel

How to mass update all related CI's?

SOLVED
Go to solution
Highlighted
Jan Gunnar Helg
Honored Contributor.

How to mass update all related CI's?

Hi

We have a custom CI category named "lease agreements" The CI's in this cateogry holds the relation towards all specific CI's that are leased.

We see the need to mass update all CI's related to one lease agreement.

You cannot do an update all from within relations tab in the main CI, nor from an explorer view....

Is this possible?
4 REPLIES
George M. Meneg
Acclaimed Contributor.
Solution

Re: How to mass update all related CI's?

Hello,

If I understand correctly, you want to update all related CIs of a CI when this CI category is "lease agreements" ?

If yes this can be done with a db rule.

When configuration item is modified
where Category (*) equals lease agreements
Set related CI category (Update Data) CI relation;CI to;Category set to lease agreements
menes fhtagn
Jan Gunnar Helg
Honored Contributor.

Re: How to mass update all related CI's?

No the relations are already intact.

I need to be able to run "update all" on all the related CI's.

I have no search critera other than the relation itselfe, and andvanced find does not allow one to do searches based on relations.
George M. Meneg
Acclaimed Contributor.

Re: How to mass update all related CI's?

To do this with the use of the "Update All" functionality is also possible. Write down the ID or the searchcode of the "Master CI".

Go to advanced find, go to tab advanced press "Add criterion" and then *TYPE*

Related CIs;CI From

once you type that the "Operator" and "Value" fields will be enabled. As operator choose "equals" and at the value type the ID or the searchcode of the "Master CI". Press ok to add the criterion and press "Find now". All CIs that are related from "Master CI" will be listed. Then use "Update All" to set the category.
menes fhtagn
Jan Gunnar Helg
Honored Contributor.

Re: How to mass update all related CI's?

Nice, I didnt know one could do that.

Thank you very much!