Automic Workload Automation

 View Only

  • 1.  Is there any way we can change the Host/Host Group names for a bulk jobs

    Posted May 16, 2025 03:14 PM

    Hi team,

    We are looking for a way to update the Host or Host Group names in bulk across multiple jobs. In the current setup, as shown in the screenshot, the agent field is populated with an outdated Host or Host Group.

    Our need is to replace this old value with a new Host Group or Agent across all relevant jobs, ideally through a bulk update.

     Please let us know if any scripts are available for this modification. 

    image

     Thanks,
    Ashmitha



  • 2.  RE: Is there any way we can change the Host/Host Group names for a bulk jobs

    Broadcom Employee
    Posted May 19, 2025 01:55 AM

    Hi,

    there are multiple options:

    *) XML-Export / Search-Replace / XML-Import
    *) JSON-Export using the REST API / Replace / JSON-Import using the REST API
    *) Unload objects using Transport Case (DBUnload) / Change-Utility ucybchng / Load objects (DBLoad)

    Regards, Markus




  • 3.  RE: Is there any way we can change the Host/Host Group names for a bulk jobs

    Broadcom Employee
    Posted May 19, 2025 03:07 AM

    Hi @Ashmitha Jayaram

    you can also change the used Agent in AWI by doing the following:

    1. switch to Administration perspective
    2. open the Agent list in Agent & Groups  - Agent
    3. select the old Agent and open the object-menu
    4. select the menu-option Replace
    5. mark/un-mark the Jobs where you want to replace the Agent

    see https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/24.4.0/Automic%20Automation%20Guides/Content/AWA/AdministrationPerspective/AG_Wkg_With_Agents.htm

    Michael



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 4.  RE: Is there any way we can change the Host/Host Group names for a bulk jobs

    Posted May 19, 2025 09:34 AM

    Thank you, Markus and Michael for the suggestion.




  • 5.  RE: Is there any way we can change the Host/Host Group names for a bulk jobs

    Posted May 26, 2025 04:11 AM

    If you regularly have to replace agents, you might want to consider using an external toolkit that can handle this automatically.
    This would save you a lot of time.
    Send me a private message if you would like to find out more.



    ------------------------------
    Kay Koll
    Business Technology Manager - Broadcom Knight - Automic Automation
    best-blu consulting with energy GmbH
    ------------------------------



  • 6.  RE: Is there any way we can change the Host/Host Group names for a bulk jobs

    Posted 11 hours ago

    Hi,

    even if this is somehow outdated a few cents from my side.

    As you have seen no one is proposing a DB change. There is also no scripting solution for that. Markus and Michael have pulled out the usual vendor built ways to perform the task.

    Companies are offering self-service solutions that sometimes also contain functions for development support. My company is also offering something. Our solution MyAutomation has a command line component called MyA Console. It hat tons of commands to be used by developers and/or operators (or maintenace JOBS). One of them allows you to list attributes of filtered objects and also to change them on the fly - easy and safe.

    https://expert.broadcom.com/partner/setis-gmbh/showcase

    Regards,
    Juergen



    ------------------------------
    Juergen Lechner
    Managing Consultant
    setis GmbH
    Germany
    ------------------------------