Automic Workload Automation

 View Only
Expand all | Collapse all

Example of a script to list workflow objects with attribute queue name QUEUE.HIATUS

  • 1.  Example of a script to list workflow objects with attribute queue name QUEUE.HIATUS

    Posted Apr 04, 2018 02:26 PM

    Greetings,

    Using the "searchfor" function in AWI, I can list all objects that have an attribute queue name QUEUE.HIATUS.

    What I would like to do is create a script that I could list only workflows that have a attribute queue name of QUEUE.HIATUS and then send the output to a text file.

    I saw a reference on the Automic community that showed how to get a list of active objects running under a certain queue, but I would like to know all workflow objects, regardless of whether they are active or not.

    Thanks!



  • 2.  Example of a script to list workflow objects with attribute queue name QUEUE.HIATUS

    Posted Apr 04, 2018 02:42 PM
    If the solution you found uses a SQL query of the OH table, then add this rule to limit its results to only workflows;

    where oh_otype = 'JOBP'