Workflow Events
Workflow Events determine which database events should be monitored by the COSMO Workflow app. These events can be linked to workflows so that they will be automatically initiated by the system.
The Workflow Events page is accessed using Tell Me. Choose the icon, enter Workflow Events, and then choose the related link.
Select an existing Workflow Event Card or create a new one.
General FastTab
The fields on General FastTab are described in the following table.
Field | Description |
---|---|
No. | Specifies the number of the Workflow Event. |
Type | Specifies the object type of the object that should be monitored. The options are: - Table – Select Table if you want to execute workflows when users change records (insert, change, delete, rename), or periodically. - Event – Select Event if you want to execute workflows on user-defined events. |
Table No. | In this field, type in the number of the object that should be monitored in regard to the database events. Alternatively, choose the ellipsis button and then select the desired object from the list of objects. |
Event Code | By using the drop-down, you can choose an entry from the list of User Events. User Events represent the programming interface for workflow management. |
Description | This field will be populated automatically with the object name. This description can be changed if desired. Note: You should name an event like the action, which initiates this Workflow Event. That will help you search for an adequate event when setting up a workflow. |
Event Description | Shows the description of the user-defined event. |
Triggered By | Specifies what triggers an event. The options are: - Only User Changes (Page) - All Database Changes (User and Code). |
Insert / Modify / Delete / Rename | The Insert, Modify, Delete, and Rename toggles determine which types of database events should be monitored. If a user is executing an inserting or modifying transaction on a record, this event is initiated and triggers the eradication of workflows which contain that event. |
Periodic | If the toggle is turned on, the initiation of a workflow event is time controlled. This is done by setting up a recurring Job Queue Entry. |
Blocked | Determines if the event is disabled. In this case the event will not be monitored by the workflow system. Note: When creating a new event, the default value is Yes. Make sure you turn off the toggle after setting up the event. |
Valid From / Valid Through | With Valid From (Date) and Valid Through (Date) you can determine that this event is only monitored for a certain period. If these fields are empty, the event will be monitored permanently. |
If you want to react on activities, which are not logged as database events in the change log, you can initiate user-defined events in the source code.
The Event option in the Type field determines that the Workflow Event should react on a programmed user event. The code of the user event can be entered in the Event Code field.
Alternatively, by using the drop-down, you can choose an entry from the list of User Events. User Events represent the programming interface for workflow management. For more information, see User Events or refer to your COSMO CONSULT consultant.
Planning FastTab
Parameters for the periodic creation of events can be defined on the Planning FastTab. The fields on this FastTab are described in the following table.
Group | Field | Description |
---|---|---|
Recurrence | Valid on Mondays / … / Valid on Sundays | Determines on which week days the event should be created. |
Execution Time | Starting Time / Ending Time | In Starting Time and Ending Time you can determine the period in which the periodic event should occur. Here you can limit the execution, for example, on work-free time. |
Time Between Check | Time Between Check shows for periodic checks at which interval the system should check whether the event should be raised. Note: If you do not enter a value in the Time Between Check field, the event is initiated at every batch. |
|
Unit of Measure | The Unit of Measure field is related to the Time between Check field. The options are: - Second - Minute - Hour - Day |
|
Next Check Date / Next Check Time | Next Check Date and Next Check Time show the next date and time at which this event will be checked by the system. If this field is empty, the event will be checked at the next run. | |
Last Date Checked / Last Time Checked | The status fields Last Date Checked and Last Time Checked are automatically populated by the application. They show the last date and time at which the system checked for the creation of this event. | |
Execute only once | Turn on the Execute only once toggle, if you want to initiate a periodic event only once. If the event is created periodically, it is deactivated automatically. |
Choose Related > Where-Used to access different lists of workflows in which this event is used.
The Workflow Lines List page shows all workflow lines, which have this event as the Entry Event (also Tasks of uncertified workflows).
FactBoxes and Menus
The Event Statistics FactBox shows the utilization of the Workflow Event. By opening the details in the Event Statistic or choosing Workflow (Entry Event), Workflow (Exit Event), Approval Conditions, or Messages on the Related menu, in the Where-Used group, you can see the utilization of an event.
Feedback
Submit feedback for this page .