TIME Event Objects
As a developer and object designer you define TIME Events to trigger tasks based on the time conditions you define on this page. If they are met, the actions that you define on the Event Process page are carried out. These actions are usually the execution of further objects. TIME Events are in Sleeping status as long as the frequency and time conditions are not met and change to Active when they are.
You can use the following functions of the Automation Engine scripting language to retrieve relevant data for the Event object:
Defining Time Event Objects
On the Time Event page that is described here, you define what the TIME Event object should check. On its Event Object Process Page, you define the actions that it will trigger if the conditions are met.
To define TIME Event objects, do the following:
-
Define the Event Process Activation:
-
In Frequency select the option that determines how often the event object should be activated:
-
Once
It is activated only once.
-
Repeatedly
It is activated periodically, depending on the setting you define below.
-
-
In Activate indicate when the Event object should be activated. The options available here depend on the frequency you have selected:
Once:
- Immediately - it is activated as soon as it is started.
- After - enter the number of minutes after starting that you want the event to wait before activating it.
- At - define a specific time. If you choose this option you can indicate when the event should be activated in case it is started after this time:
- Immediately
- Wait for the next valid date - it becomes active with the next valid date considering the calendar and time conditions you specify below
Repeatedly
Specify when the event should be activated. The options are:
-
In intervals of ... minutes to define a periodicity.
- At to define a specific time.
In either case, in First Activation you must then define when the Event object becomes active for the first time, the options being:
- Immediately
- After the first interval, that is after the expiration of the first time interval.
-
Depending on your selection in Activate, you specify one of the following:
First Activation
- Immediately
- After the first interval
If start time is later
- Activate immediately
- Wait for the next valid date
-
-
Define the Time and Date Conditions.
These conditions are always checked and an event will only be triggered if at least one of the them is met or if no condition has been defined here. The current date and time are used as reference. The Time Zone assigned to the event is considered as well. This means that activating an event and specifying a logical time does not make sense.
Important! Time specifications are checked for full minutes, i.e. the ending time 23:59 hours lasts until 23:59:59. Hence, the event can also be triggered in the last 59 seconds.
See Tables On Pages.
- Switch to the Event Object Process Page to define the actions that the Event will trigger.
Activating/Executing and Monitoring a TIME 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:
Analyzing the Last Execution of the Event with Gen AI
As a developer and object designer, after configuring an executable object, you execute it to make sure that it behaves as you expect. Every time that you execute the object, a runID is generated that identifies that execution. If the execution fails or if the outcome is not what you expect, you use the reports and Executions lists to investigate the reasons for the failure. Automic Automation's Gen AI simplifies this process substantially. You can open the Automation AI Assistant as follows:
-
From the Explorer list in the Process Assembly perspective, right-click the object and select Monitoring > Analyze Last Execution.
-
On the object-specific definition page, click the Analyze Last Execution button.
Automic Automation's Gen AI crawls all the reports and logs available for the last execution of the object, it summarizes what happened, analyzes the automation outcome and provides suggestions to solve any existing or potential issues. It also provides a link to the execution itself in the list of Executions (Process Monitoring) and to the report. You can start a conversation in the Ask Automation AI Assistant field at the bottom of the pane.
For more information, see:
See also: