Deactivate CIs using GRLOADER


Article ID: 109693


Updated On:


SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager


How can the CIs be deactived using GRLOADER?



SDM 14.1
SDM 17.1


The field CI can be deactivated using the GRLoader.

To do this the field "delete_flag" must be added in the xml file, i.e.:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>








value 1 = is inactive
value 0 = Active.
uuid= The UUID of the CI to deactivate


Customer needs to inactive CI called "CI_test":

1. select the UUID from CI_test

 select own_resource_uuid from ca_owned_resource where resource_name like 'CI_test'

<Please see attached file for image>

User-added image

2. Build the xml with the value gotten from step 1, called load.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>







3. Execute the update
grloader -u <username> -p <password> -s http://localhost:8080 -i load.xml -a

Additional Information

-Information about Grloader command.

-To check for duplicated records and recognize which record have to be deactivated please check the cora matrix that explain how the application check records to update or create new records, following this documentation CORA.



1558698153392000109693_sktwi1f5rjvs16j86.png get_app