I have use the grloader operator (CA PAM) to update a CI on the CMDB of Service Desk. The PAM Instance create an archive (xml) whit the fields need to update, one of then is the location. For example the archive xml to upload on grloader operator is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><GRLoader><ci> <name>Prueba 5</name> <serial_number>Prueba 5</serial_number> <resource_contact lookup='userid'>CHAM07</resource_contact> <location>BODEGA CENTRAL 1</location> <tenant>Homecenter</tenant> <status>TRANSITO</status> </ci></GRLoader>
and on the error file I see that the location is not found 'BODEGA CENTRAL 1'. But if I use the same archive and then use the grloader command, this upload without error or Warning.
This is the name of location.
PAM -> SDM is it using the "servicedesk" account as your grloader command line was?
Yes, the user on grloader command and grloader operator is servicedesk.
Thank you, I don't have the operator on my end from what I see. All the CMDB operators are with CMDBF registration / invoking grloader command line call.
Is this a custom operator somehow?
The operator is Register via Grloader and this operator need a input file, on my case the archive is a xml, but when the operator read the file, update the other fields less the location.
now I copied the xml input and try to charge with the command on the SDM Server, the location update without problem.
got it, thank you !!
I saw this operator, compared with yours and was a bit confused. I'll try this and revert back
I Changed on the input file (xml) this line <location>BODEGA CENTRAL 1</location> for this <location lookup='name' >BODEGA CENTRAL 1</location> and now the groloader operator update the location field on the CI.
oh wow, yea wonder why the lookup call was explicitly needed there, however worked fine via grloader command line.
Thank you for sharing the solution -R