AutoSys Workload Automation

 View Only
Expand all | Collapse all

Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?

  • 1.  Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?

    Posted Aug 17, 2023 04:24 AM

    I have outline a plan and I need your help if this is possible?  One of the customer ask is to schedule a job in Autosys once a Change task approved in Service Now . Current process is to manually updates to the scheduling databases per documented user requests in ServiceNow change records. 

    I am an Automic professional and based on my Automic experience I have outline below plan.

     My plan: 

    1. Create/Develop an autosys job called 'scheduler job' which will schedule the jobs based on certain inputs like Jobname, Time, calendar etc which may be coming from ServiceNow.
    2. Once change approved in ServiceNow , ServiceNow will trigger Scheduler Job through API in Autosys and schedule a new job with the parameter passed by ServiceNow.

     

    I am not sure if an Autosys job can schedule another job based on inputs.

    Is it possible to code a job which can schedule other jobs?

    Please let me know if it is possible and How? 



    ------------------------------
    Kuntal Sadhu
    Wipro Ltd.
    ------------------------------


  • 2.  RE: Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?

    Posted Aug 21, 2023 08:42 AM
    Edited by P Verghese Aug 21, 2023 08:43 AM

    Hi @Kuntal Sadhu,

    The short answer is Yes.

    a) You can create a job via code. It just needs to be in jil format in a file, which AutoSys understands. You may use your favorite scripting language to create one. 

    b) Use the command jil < file to load the job defn

    c) If the job defn already has a date condition defined, then the job will run at the next available time/date as per the date/time definition

    d) If it is a adhoc job/jobflow, then you can start the job manually using AutoSys command sendevent (on AutoSys server/client) or via AutoSys Web Services (remotely)

    For more details please refer the product docs or your local AutoSys experts. 

    Regards

    P Verghese

     




  • 3.  RE: Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?

    Broadcom Employee
    Posted Aug 21, 2023 09:02 AM

    Hi,

    I just wanted to share that AutoSys 12.0+ also now supports creating jobs via its REST API. 

    More information can be found in our technical documentation, here:
    https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-1/reference/ae-web-services/Manage-JIL-(AEWS).html

    Kind regards,
    Jon