Automic Workload Automation

  • 1.  Get the RUNID of the latest activated run

    Posted Mar 19, 2018 04:57 AM

    Hi,

    I want to get the status of the latest activated run. Do search for the status, I first need to know the latest RunID.

    With this script function, I can find the oldest one:

    GET_UC_OBJECT_NR

    If the object has been activated more than once, the oldest RunID is  returned.

    Is there a script/function to find the latest and not the oldest RunID?

    thx!

    kr

    Sören

     



  • 2.  Get the RUNID of the latest activated run
    Best Answer

    Posted Mar 19, 2018 06:18 AM
    Hi

    GET_STATISTIC_DETAIL should do the trick:

    :SET &STAT_RUNID# = GET_STATISTIC_DETAIL(,"RUNID","[Your_obj_name]")

    cheers, Wolfgang


  • 3.  Get the RUNID of the latest activated run

    Posted Mar 19, 2018 06:36 AM

    Hi Wolfgang,

    Indeed,thank you :-)

    kr

    Sören



  • 4.  Get the RUNID of the latest activated run

    Posted Mar 19, 2018 07:21 AM
    You're welcome :-)

    cheers, Wolfgang