INDEX_ACTIVITY_LOOP
Description
The INDEX_ACTIVITY_LOOP operator returns how many times every activity has occurred in direct succession in every case.
Syntax
INDEX_ACTIVITY_LOOP ( activity_table.column )
activity_table.column: A column of an activity table. Usually, the activity column of an activity table is used.
NULL handling
NULL values are ignored, meaning that the rows with a NULL value stay null in the result column and will not count as an index activity value.
Result
The result is an INT column that is based on the activity table. In the resulting column there is a number x for every activity in every case, that shows this is the xth occurrence of this particular activity in direct succession within that case.
Parallel Processes
Activities in parallel processes will get an index activity loop count with respect to the absolute order, based on the timestamp of the activity.
Use Cases
INDEX_ACTIVITY_LOOP
can be used for Rework per Activity.
Example
[1] In this example, case 1 contains a loop of three A-activities. Inside this loop, all activities are indexed accordingly. Case 2 contains a loop of three B-activities, therefore indices 1-2-3 are assigned. All other activities get index 1 since they are not part of an activity loop. | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|