CA Service Management

Expand all | Collapse all

GRLoader Operator

Jump to Best Answer
  • 1.  GRLoader Operator

    Posted 09-24-2018 09:57 AM

    Hi Team!

     

    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.

     



  • 2.  Re: GRLoader Operator

    Posted 09-26-2018 02:20 PM

    hey Wicner,

     

    PAM -> SDM  is it using the "servicedesk" account as your grloader command line was? 

     

    thx

    _R



  • 3.  Re: GRLoader Operator

    Posted 09-26-2018 02:24 PM

    Hi Raghu,

     

    Yes, the user on grloader command and grloader operator is servicedesk.  



  • 4.  Re: GRLoader Operator

    Posted 09-26-2018 02:39 PM

    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?

     

    _R



  • 5.  Re: GRLoader Operator

    Posted 09-26-2018 02:55 PM

    Raghu,

     

    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.

     



  • 6.  Re: GRLoader Operator

    Posted 09-26-2018 03:05 PM

    got it, thank you !!

     

    I saw this operator, compared with yours and was a bit confused.  I'll try this and revert back

     

    _R



  • 7.  Re: GRLoader Operator
    Best Answer

    Posted 09-28-2018 08:52 AM

    Hi Raghu! 

     

    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.



  • 8.  Re: GRLoader Operator

    Posted 09-28-2018 03:34 PM

    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