Skip to main content

Get help for ARIS Process Mining functions and services

Syntax

SUCCESSOR operator

Purpose

Retrieves the desired field (for example, "_ARIS.Activity"."Activity name") from the next activity in the ordered list of a single case.

Basic form

SUCCESSOR(
<fieldExpression>
)
  • Moves one step forward in the case’s activity list, returning the <fieldExpression> from that next activity.

  • Aborts the calculation and returns NULL as the final result if there is no next activity in that case.

Extended form (Positional Arguments)

SUCCESSOR(
<fieldExpression>,
<filterExpression>,
<stepsExpression>,
<fallbackExpression>
)
  • <fieldExpression>

    The field or calculation to retrieve from the matched "next" activity (for example, "_ARIS.Activity"."Activity name").

  • <filterExpression> (optional)

    A boolean expression specifying which next activities are considered “valid” matches. Activities not satisfying this are skipped.

  • <stepsExpression> (optional)

    How many matching steps to move forward:

    • A positive integer (for example, 2)

    • A special value FIRST / LAST (meaning pick the first / final matching activity in the list)

    • Defaults to 1 if omitted.

  • <fallbackExpression> (optional)

    What to return if no matching next activity is found. Aborts the calculation and returns NULL if omitted.

Extended form (Named Arguments)

SUCCESSOR(
<fieldExpression>,
filter: <filterExpression>,
steps: <stepsExpression>,
fallback: <fallbackExpression>
)
  • Identical behavior to the positional version, but with explicit parameter naming. You can reorder named parameters if desired.

PREDECESSOR operator

Purpose

Retrieves the desired field from the previous activity in the ordered list of a case.

Basic form

PREDECESSOR(

<fieldExpression>

)

  • Moves one step backward in the case’s activity list.

  • Returns <fieldExpression> from that previous activity, or aborts the calculation and returns NULL if no previous activity is found.

Extended Form (Positional or Named)

PREDECESSOR(

<fieldExpression>,

<filterExpression>,

<stepsExpression>,

<fallbackExpression>

)

or

PREDECESSOR(
<fieldExpression>,
filter: <filterExpression>,
steps: <stepsExpression>,
fallback: <fallbackExpression>
)
  • The PREDECESSOR operator has the same structure as the SUCCESSOR operator, but searches in reverse order.