Chains

Top  Previous  Next

A chain is a sequence of steps. When running a chain, XBM executes all the defined steps in the defined order.

A chain is identified by:

name
sequence of steps
default set of step start conditions (see below)
default set of step fault rules (see below)
default set of step termination actions (see below)
default set of step fault actions (see below)
set of fault rules
set of fault actions
set of termination actions
return code calculation mode

Defined steps must have different names.

Fault rules

Fault rules are a set of conditions tested to determine if a step is fault or normally terminated. These conditions are tested in order the have been supplied.

If one of supplied rules is verified, chain is considered fault.

See below for rule types.

Fault action

Fault actions are a set of action to be performed when chain faults. All the defined actions are executed.

See below for action types.

Termination action

Termination actions are a set of action to be performed when chain terminates normally. All the defined actions are executed.

See below for action types.

Return code calculation

Chain return code may be calculated using:

minimum step return code caught
average step return code caught
maximum step return code caught
return code of last step executed