Automic Workload Automation

 View Only

Expand all | Collapse all

Using UC4 Script function ( avoiding SQL query ) I need to READ all ACTIVE EVENT objects with wild card name 'TIME_EVENT_TEST_*'

  • 1.  Using UC4 Script function ( avoiding SQL query ) I need to READ all ACTIVE EVENT objects with wild card name 'TIME_EVENT_TEST_*'

    Posted Apr 27, 2025 01:47 PM

    Hello Experts, Good day!!! 

    I am working on a requirement where
    - based on some variable entries - many EVENT objects will be executed with generic name lets say - "TIME_EVENT_TEST_*"  
    - At some point customer wants to STOP all those EVENTS as a cut-off call. 
    - The NAME & NUMBERS of those events will vary every day [ generic name will be lets say - "TIME_EVENT_TEST_*" ]  

    If I have the exact object names, I can write a set of codes that will READ the RUNIDs of those particular EVENTS & QUIT/ENDED-TimeOut those Events. 
    As I do not have exact EVENT object names which are ACTIVE at the moment, I am looking for any feasible UC4 Scripting function that can act on the generic name like "TIME_EVENT_TEST_*" & RETRUN the exact NAMES / RUNIDs, so that I can feed that into CANCEL_UC_OBJECT function & Cancel them. 



    ------------------------------
    Regards,
    Prosenjit
    ------------------------------


  • 2.  RE: Using UC4 Script function ( avoiding SQL query ) I need to READ all ACTIVE EVENT objects with wild card name 'TIME_EVENT_TEST_*'

    Posted Jun 05, 2025 02:20 PM


    Hello Everyone, Any help on this ? 



    ------------------------------
    Regards,
    Prosenjit
    ------------------------------