Events (EVNT)

As a developer and object designer you define an Event object to monitor certain conditions and, if they apply, to automatically trigger actions. These actions are usually the execution of other objects, as defined on the Event Process page. Event objects are in Sleeping status as long as their frequency and time parameters do not apply and change to Checking when they do.

There are various types of Event objects:

  • CONS (Console) monitor the messages returned by target systems.
  • DB (Database) monitor values in tables.
  • FILE check file-related conditions, for example if the defined number of files has been transferred via FTP into a directory, or if a file is stable, etc.
  • TIME

You can use the following functions of the Automation Engine scripting language to retrieve relevant data for the Event object:

Defining Event Objects

An Event object definition is made up of the following pages:

Activating/Executing and Monitoring an Event Object

Execute the Event object to activate it

The execution of an Event object triggers the execution of other objects, which in turn trigger the execution of further tasks. The tasks resulting from these executions are displayed in the Process Monitoring perspective on the various lists of Executions related to the Event object. They are children of the Event task and are flagged with a special tag type called !EVNT. The tag lets you check which executions were triggered by a specific Event. For more information, see Monitoring Events and Execution Data.

Events can be included in Schedules (JSCH)and thus be executed automatically at predefined dates or intervals. Likewise, they can be part of Workflows (JOBP). For more information, see Superordinate Tasks (Parents).

You can also execute, restart or stop Events manually. The following topics describe the execution process in Automic Automation in general and the Event-specific characteristics:

To check the number of times the system checked the Event, go to the Check count section in the Details of the object. For more information, see Showing Object and Task Details.

Note: If a Time Event is activated outside the Time and Date Conditions, it will be activated immediately after the first time interval has passed.

Monitor the Event

Immediately after executing the object, you can start monitoring it. Right-click it and select Monitoring to access all the monitoring options:

From the list of tasks in the Process Monitoring perspective, you can access all the functions that are available to Event tasks, see Working with Tasks. For Event tasks, the following options are available for stopping them:

  • Cancel the Event

    Status: Abend/manually canceled

  • Quit the Event

    Status: Ended_OK

  • Suspend the Event

    Event remains active, but temporarily disabled

Related information:

This section includes the following pages:

 

See also: