Selecting a Log Cutting Mode
A task is defined by its start and end events and a log cutting mode. This definition will be used to identify other instances of the same task and to cut the logs.
A log cutting mode sets the boundaries for a task with multiple identical start and end events. Here's how it works:
1. You specify a start and end event for a task.
2. ABBYY Timeline automatically finds all the instances of these start and end events in the log.
3. ABBYY Timeline uses the selected log cutting mode to adjust the boundaries of the task, selecting the right start and end events based on the cutting method you specify.
All the changes will be immediately displayed in the Task Definition Editor.
Example. Suppose the user needs to fill out a report form. Once the form is filed, the user clicks Submit. As a result, an "Invoke Submit" event is added to the log. Next, the user decides to make some changes to the form and clicks Submit again. As a result, a second "Invoke Submit" event is added to the log. For the log to be processed correctly, only the last "Invoke Submit" event must be regarded as the end event. This is achieved by selecting Last as the log cutting mode, so that all of the user's attempts at filling out the form are included in the task.
To specify a log cutting mode, select a task in the TASKS pane on the right. A task properties dialog box will be displayed. In the Cutting mode drop-down list, select the desired log cutting mode.
The following log cutting modes are available:
- Last – The last start and the last end events will be used.
Note: Last is the default log cutting mode. - First – The first start and the first end events will be used.
- Loose – The first start and the last end events will be used.
- Strict – The last start and the first end events will be used.
Log cutting modes compared
The table below shows how a recorded sequence of events will be cut in different log cutting modes.
"Invoke Start" is set as the start event, and "Invoke End" is set as the end event. Both these events recur several times in the original sequence. In the cutting mode columns, the retained start and end events are shown in bold. The excluded events are shown in italics.
Original events | Strict (last start, first end events) | Loose (first start, last end events) | First (first start, first end events) | Last (last start, last end events) |
---|---|---|---|---|
OpenWindow Invoice | OpenWindow Invoice | OpenWindow Invoice | OpenWindow Invoice | OpenWindow Invoice |
Invoke Start | Invoke Start | Invoke Start | Invoke Start | Invoke Start |
ChangeElement ID | ChangeElement ID | ChangeElement ID | ChangeElement ID | ChangeElement ID |
Invoke Start | Invoke Start | Invoke Start | Invoke Start | Invoke Start |
ChangeElement Name | ChangeElement Name | ChangeElement Name | ChangeElement Name | ChangeElement Name |
ChangeElement OrderType | ChangeElement OrderType | ChangeElement OrderType | ChangeElement OrderType | ChangeElement OrderType |
Invoke End | Invoke End | Invoke End | Invoke End | Invoke End |
Invoke Save Changes | Invoke Save Changes | Invoke Save Changes | Invoke Save Changes | Invoke Save Changes |
Invoke End | Invoke End | Invoke End | Invoke End | Invoke End |
OpenWindow CreateNewOrder | OpenWindow CreateNewOrder | OpenWindow CreateNewOrder | OpenWindow CreateNewOrder | OpenWindow CreateNewOrder |
9/22/2023 8:59:47 AM