Member Junction
    Preparing search index...

    Interface MJTaskEntity_ITaskExecutionPolicy

    What the dispatcher does about time and failure for a single step.

    interface MJTaskEntity_ITaskExecutionPolicy {
        onError?: "continue" | "fail" | "retry";
        retryCount?: number;
        timeoutSeconds?: number;
    }
    Index

    Properties

    onError?: "continue" | "fail" | "retry"

    What a failure means for the rest of the workflow.

    fail stops dependents; continue records the failure and releases them anyway, which is what lets a workflow draw a recovery path instead of stopping dead; retry re-runs up to retryCount before deciding.

    retryCount?: number

    How many times to retry before the failure is final.

    timeoutSeconds?: number

    How long the step may run before the dispatcher abandons it, in seconds.