AutoSys Workload Automation

 View Only
  • 1.  Help exectrigger

    Posted May 21, 2014 07:17 PM

    Please your help with the following:

    1. Set up an Application Consisting of one link ( for example , LAUNCH.ARCHIVE ) . This link is used to launch the generic Application , and Provides a visible means for tracking the launch Takes That place .
    2. At Event trigger time , run a JavaScript script for the link with a series of built -in functions execTrigger That trigger the generic Application Variable and pass the information as user parameters . For example , the Following PROD.ARCHIVE triggers the Event to run the generic Application. It passes the name of the Oracle instance as parameter 1 and the user agent user name as parameter 2:
    execTrigger ( ' PROD.ARCHIVE ','' ,'', '', ' Agent01 ');
    execTrigger ( ' PROD.ARCHIVE ','' ,'', '', ' AGENT02 ');
    September 3 up your common Application Consisting of jobs A, B, and C. Use the APPL._usern variables for the information That changes from one environment to another .
    a. Use the following JavaScript script at Event trigger time and at run time for each job . This script Takes the user parameters and Assigns them to variables with more specific names .
    APPL.AGENT = APPL._user1 ;
    b.Use % AGENT Agent in the name field .

    *******
    The idea that the event is run twice, each time with a different agent, but when running the application the event will run indefinitely , and I have to remove the application to ensure that the infinite executions stops.

    Thank you.