AutoSys Workload Automation

 View Only
  • 1.  How to find a current Jobs in failure using test api

    Posted Feb 10, 2021 08:38 AM
    Hello
    Do you know how to list all current Jobs in failure status (last run for any job)
    I need this to prepare monitor tool and want to use rest api. 

    Thanks 


  • 2.  RE: How to find a current Jobs in failure using test api

    Posted Feb 11, 2021 03:26 AM

    Hello Grzegorz, you can use the following simple REST call to list all jobs that are currently in a failure state. The call will need to be made by a user with appropriate EEM permissions. 

    The hostname location of the webserver and ports need to match what was configured in your environment. 

    https://AE-WEBSERVER-HOSTNAME:9443/AEWS/job?filter=status==5

    Let me know if this helps?

     




  • 3.  RE: How to find a current Jobs in failure using test api

    Posted Feb 11, 2021 03:41 AM
    This will give you a list of jobs in failure status 

    https://<AEWS_Host>:9443/AEWS/job?filter=status==5

    Please refer to the following reference for other status codes: 
    https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/reference/ae-system-states/status.html