Automic Workload Automation

 View Only
  • 1.  Automation API

    Posted Jan 14, 2020 05:26 PM
    Hello,

    We are trying to integrate AWA with the ticketing process to monitor for failed jobs via the API. Will be pleased if anyone can answer my issue.

    1) Do we have to monitor C_Periods for children separately.
         a) if yes, is there a way we can limit it by time and status?  

    2) Is it necessary to have different calls for jobs and c_periods.

    3) is there provision to add new field for the API call. we would like to get an additional field which has the internalID of the job

    ------------------------------
    Thanks
    Kam V
    ------------------------------


  • 2.  RE: Automation API

    Posted Jan 22, 2020 04:20 PM
    @Legacy User @admin admin can some one help, please​​


  • 3.  RE: Automation API

    Posted Jan 22, 2020 05:12 PM
    @Legacy User any help would be greatly appreciated. ​


  • 4.  RE: Automation API

    Posted Jan 23, 2020 01:54 AM
    Hi @kam vutukuri

    Generally speaking - schedulers / C_PERIOD do not necessarily reflect when their children have issues. If a C_PERIOD is starting a workflow that gets blocked due to an issue within the workflow, you won't see that on the C_PERIOD level. Also failed jobs might disappear from the activity window making it hard to observe from the outside (depending on the API you're using). Are you considering SQL queries on the database?

    ------------------------------
    Swisscom Automation Engineer & PE Membership Creator

    Entfessle mehr Automic Wissen mehr Automic Tools
    https://membership.philippelmer.com/
    ------------------------------



  • 5.  RE: Automation API

    Posted Jan 23, 2020 10:09 AM
    Joel,

    Appreciate your help . we are following the swagger documentation for the REST API. Would it be any different if we are using the SOAP?. Haven't looked at monitoring the jobs from the db perspective. Management is more inclined to use the API. we are planning on using the API to monitor the following:

    JOBs
    C_Period
    Job(SQL)
    event
    file transfers

    Appreciate your help.


  • 6.  RE: Automation API
    Best Answer

    Posted Jan 23, 2020 02:48 PM
    Forget about SOAP, the swagger / REST documentation is the way to go. I'm having a Powershell module for V12.2 and V12.3 making use of almost all available REST features. It also contains an English documentation. If you're interested PM me, I can send you the documentation so you can get an overview whether it could be of interest for you.

    ------------------------------
    Swisscom Automation Engineer & PE Membership Creator

    Entfessle mehr Automic Wissen mehr Automic Tools
    https://membership.philippelmer.com/
    ------------------------------