Member Junction
    Preparing search index...

    Saga compensation contract for an Action step.

    interface ActionCompensationSpec {
        compensationActionId?: string;
        compensationActionName?: string;
        compensationInputMapping?: string | Readonly<Record<string, string>>;
        inputMapping?: string | Readonly<Record<string, string>>;
        isIdempotent?: boolean;
        onCompensationFailure?: ActionCompensationFailurePolicy;
        retryCount?: number;
    }
    Index

    Properties

    compensationActionId?: string

    Overrides Action.CompensationActionID when specified on the workflow node (UUID).

    compensationActionName?: string

    Optional action name of the compensation action (resolved to compensationActionId at submit time).

    compensationInputMapping?: string | Readonly<Record<string, string>>

    Alias for inputMapping matching CompensationInputMapping metadata column naming.

    inputMapping?: string | Readonly<Record<string, string>>

    Explicit mapping from forward { input, output, actionLogId, recordChanges } -> compensation params. Accepts either a parameter-name -> path dictionary or a serialized JSON mapping string.

    isIdempotent?: boolean

    false turns off automatic retry of this node's action. It can only narrow the action's own IsIdempotent column, never widen it: true on an action not marked idempotent changes nothing.

    onCompensationFailure?: ActionCompensationFailurePolicy

    Policy if compensation itself fails after maxRetries. Default 'EscalateToHumanTask'.

    retryCount?: number

    Optional automatic retry count when isIdempotent === true or on the compensation step.