GRLoader supports the update_if_null option in the XML which clears a field in the CMDB. The following example clears the owner field for server1. Without that attribute, the owner field is not affected. When using the TWA, you can use the keyword EMPTY instead.
Example: update_if_null XML
<ci> <name>server1</name> <owner update_if_null="yes"></owner> </ci>
In the TWA, the database value is cleared by specifying the keyword EMPTY as the string value. The equivalent transaction in the work area is:
|
ID |
Name |
Owner |
|
102 |
server1 |
EMPTY |
The keyword value can be set by using the grloader.emptyvalue configuration option:
grloader.emptyvalue=xxxx
xxxx represents any string that typically does not appear in the work area data.
|
Copyright © 2013 CA.
All rights reserved.
|
|