Member Junction
    Preparing search index...

    Force Complete Workflow Step Mark a wedged or externally-resolved step Complete with an operator-supplied output; downstream paths evaluate against it exactly as they would a runner's. Refused for a step running under a live claim (cancel it or wait for the claim to lapse) and for human steps (those complete through CompleteTask with the assignee check). Implemented by TaskGraphForceCompleteTaskServerOperation in @memberjunction/task-graph. GenerationType=Manual — the server body is supplied by a hand-authored subclass registered under 'TaskGraph.ForceCompleteTask'. This generated base provides the typed contract only (client-safe).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ExecutionMode: "Sync" = ...

    Whether this operation is a plain Sync request/response or a LongRunning run.

    OperationKey: "TaskGraph.ForceCompleteTask"

    Stable registry key and wire token for this operation (e.g. RecordProcess.RunNow).

    RequiredScope: "taskgraph:execute"

    Optional API-key scope string (e.g. recordprocess:execute) enforced for API-key / MCP callers by the server resolver. undefined means no scope gate; interactive users remain bounded by their entity permissions. Informational here — the server applies it.

    RequiresSystemUser: false

    When true, the server only permits the system user to invoke this operation.

    Methods

    • Per-operation authorization hook, composed with (and applied after) the framework gates that the server resolver runs. Returns true by default. Override to enforce operation-specific rules against the input and acting user.

      Parameters

      Returns Promise<boolean>

      True if the operation may proceed.