Recursion Depth

The recursion depth determines the depth up to which follow-up triggers are processed directly and not added to the stack.

In the following example, a database event initiates triggers 1 to 3. Trigger 1 updates 2 records (X and Y), the remaining triggers update a single record each. The triggers 1a, 1b and 2a are follow-up triggers that are initiated by the changes applied using the first trigger.

The orange lines depict the order in which triggers are executed; the large blue rectangle represents the stack.

Recursion depth 1 (default in Aurea CRM win):

Recursion depth 0 (default in Aurea CRM web):

You can configure the default recursion depth globally or per station using a configuration entry (Log trigger). The maximum recursion depth is 100.

Recursion depth 2:

Note: If the recursion depth is changed (i.e. from 1 in Aurea CRM win or 0 in Aurea CRM web, this setting is also applied to triggers initiated when adding new records.

You can also determine whether follow-up triggers or workflows are executed recursively or not for each trigger/workflow, see Further Settings for Triggers and Workflows.