AutoSys Workload Automation

  • 1.  Is it possible to specify a root job in a DE event definition ?

    Posted Jul 30, 2018 04:03 PM

    Is it possible to specify root job(s) in a DE event schedule ?  If yes, please show me how or where in documentation. 

    Thanks in advance.  ( ... I don't mean selecting root job(s) during simulating or triggering the application )



  • 2.  Re: Is it possible to specify a root job in a DE event definition ?

    Broadcom Employee
    Posted Aug 01, 2018 08:29 AM

    Hi,

    The event does not select any jobs.  When event is triggered, the application will build and select the jobs that match the event criteria.  What would you like to run when the event is triggered?

    Is there some specific job(s) you want to run at event trigger time?

     

    Thanks,

    Nitin Pande

    CA Technologies



  • 3.  Re: Is it possible to specify a root job in a DE event definition ?

    Posted Aug 01, 2018 04:36 PM

    I tried the following Local JavaScript at event trigger time in the Appication properties - JavaScript

     

    //
    // Ensure APPL._rootjobs resolve to a value
    //
    if (APPL._rootjobs == null || APPL._rootjobs == "")
    {
    APPL._rootjobs = "JOB_101+" ;
    }

     

    Is it true this already passed the application build phase ? 



  • 4.  Re: Is it possible to specify a root job in a DE event definition ?
    Best Answer

    Broadcom Employee
    Posted Aug 01, 2018 05:05 PM

    Hi,

    Yes.  That script is letting you decide the root jobs.  As you can see, this at APPL or Application level.  Application is built when the Event is triggered.  Application will decide what jobs to be selected for that generation.

    An Event can only generate one generation of an Application.

     

    Thanks,

    Nitin Pande

    CA Technologies