Automic Workload Automation

 View Only
  • 1.  Read Agent List from Administration Tab

    Posted Feb 19, 2020 12:38 AM
    Edited by Thomas H Feb 19, 2020 12:39 AM
    Hello,

    is there a way to list all Agents? Without SQL? 
    I found some SQL Statements like this https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=791390
    But this is too much. I dont need their status - i just need a list with the names. 

    I asked the support - they sended me the above link and told me to ask the community :) 

    Hope someone has an idea. 

    PS: i searched for all the   SYS_ <- Functions but didnt find it.  

    Regards,
    Thomas 
    Admin_Tab_Agentlist


  • 2.  RE: Read Agent List from Administration Tab
    Best Answer

    Posted Feb 19, 2020 02:12 AM
    Hi Thomas,

    The easiest way to read all agents of all clients is this:


    :SET &HND# = PREP_PROCESS_VAR("UC_EX_HOSTCHAR")
    :PROCESS &HND#
    : SET &KEY# = GET_PROCESS_LINE(&HND#,1)
    : SET &VALUE# = GET_PROCESS_LINE(&HND#,2)
    : PRINT "&KEY# &VALUE#"
    :ENDPROCESS
    :CLOSE_PROCESS &HND#



    Cheers
    Christoph 





    ------------------------------
    ----------------------------------------------------------------
    Automic AE Consultant and Trainer since 2000
    ----------------------------------------------------------------
    ------------------------------



  • 3.  RE: Read Agent List from Administration Tab

    Posted Feb 19, 2020 03:47 AM
    Thank you so much! 
    ...we would really Need some Meetings with those tips and tricks :D