Member Junction
    Preparing search index...

    Server implementation of PredictiveStudio.TrainModel. Extends the CodeGen-emitted PredictiveStudioTrainModelOperation base (which carries the OperationKey, ExecutionMode='LongRunning', and RequiredScope='predictive:execute') and supplies only the body; registered last so it wins server-side dispatch.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    ExecutionMode: "LongRunning"

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

    OperationKey: "PredictiveStudio.TrainModel"

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

    RequiredScope: "predictive: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.