Previous Topic: Inactivate CI Relationships (Edit in List)

Next Topic: Reactivate a CI Relationship Using GRLoader

Inactivate a CI Relationship Using GRLoader

You can Inactivate a CI relationship by using GRLoader to submit XML.

To Inactivate a relationship using GRLoader

  1. Write XML that uses a Relation tag to identify the following:
  2. Set the delete_flag to true (or yes or 1).
  3. Submit the XML.

    The CI Relationship is deleted.

Note: For more information about GRLoader, see the CA CMDB Technical Reference Guide.

Example: Delete a CI Relationship Using GRLoader

In the following XML example, the "connects to" relationship between ci_1 and ci_2 is deleted.

<GRLoader>
	<relation>
		<dependent>
			<name>ci_2</name>
		</dependent>
	<type>connects to</type>
		<provider>
			<name>ci_1</name>
		</provider>
	<delete_flag>true</delete_flag>
	</relation>
</GRLoader>