Automic Workload Automation

 View Only
  • 1.  Create RA Agent in Java / cmd line

    Posted Feb 26, 2021 09:32 AM
    Hi

    I would like to create automatically RA agent of type WEBSERVICEREST.
    1.  Java API
    the CreateObject class requests a template and i cannot find any template for HOST in com.uc4.api.Template

    2. xml Export / Import  using class ImportObject.
    I have tested manually and it is possible to export the agent WEBSERVICEREST01 in an xml but not possible to import it. 
    The xml has this tag:
    <HOST_CIT name="WEBSERVICEREST02">
    import fails with this message:
    The Automation Engine has no template for the object that should be imported (type: 'HOST.CIT').

    3. DBUnload , modify uc_data.txt, DBLoad:  
    It fails too. It seems it is not possible to add an agent in a transport case.

    Do you see any solution to create RA agents using java or any command line ?

    Thanks

    ------------------------------
    Services Consultant
    HCL TECHNOLOGIES
    ------------------------------


  • 2.  RE: Create RA Agent in Java / cmd line

    Posted Feb 26, 2021 10:21 AM
    Hi Mathieu,

    please check if you have loaded the corresponding solution into the database.

    regards,
    Peter

    ------------------------------
    Capture Europe
    ------------------------------



  • 3.  RE: Create RA Agent in Java / cmd line

    Posted Feb 26, 2021 10:55 AM
    Hi Peter

    Hi Peter

    on Client 0, under RA_SOLUTIONS folder, i have this and in "Add Object", i can see all objects coming from RA.


    ------------------------------
    Services Consultant
    HCL TECHNOLOGIES
    ------------------------------



  • 4.  RE: Create RA Agent in Java / cmd line

    Posted Mar 03, 2021 08:04 AM
    Edited by Pothen Verghese Mar 04, 2021 06:15 AM
    My bad,  I do see your problem. Manually we can add the agent, but when we try to use import, it fails with the same template missing message,

    Regards
    Pothen