Member Junction
    Preparing search index...

    Class PredictiveStudioCreateScoringProcessOperation

    Create Scoring Process Create an on-demand WorkType='ML Model' MJ: Record Processes row that scores a target entity's records with a trained MJ: ML Models (no schedule). The scope selects records (a saved view / a list / an entity filter / the whole entity). When outputField is supplied, the run writes the prediction into that column and a MJ: ML Model Scoring Bindings lineage row (Mode='OnDemand') is created; when omitted, output is generic (run history only) with no binding. Returns the new Record Process id, whether a write-back column was configured, and the scoring binding id (when created). The created row is then run-now via the Run Record Process operation or scheduled via the generic scheduling dialog. Delegates to createScoringProcess in @memberjunction/predictive-studio-engine. GenerationType=Manual — the server body is supplied by a hand-authored subclass registered under 'PredictiveStudio.CreateScoringProcess'. This generated base provides the typed contract only (client-safe).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    AuthorizedWriteEntities?: readonly string[]

    Optional allow-list of entity names (or ['*']) that this Remote Operation is authorized to mutate when GrantsServerWriteAuthority is true. Forwarded into the active ServerOperationScopeFrame.allowedEntities by DispatchRemoteOperationInProcess.

    ContractFingerprint: "ro_fp_0a4217c595837dc0"

    Optional structural contract fingerprint emitted by CodeGen (or set by a hand-authored operation). Automatically forwarded on Execute when the caller didn't override options.contractFingerprint, allowing the server resolver to detect stale client bundles.

    ExecutionMode: "Sync" = ...

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

    ExposeAsAgentTool?: boolean

    When true, exposes this operation for automatic discovery by MJ AI Agent tool adapters.

    ExposeAsMCPTool?: boolean

    When true, exposes this operation for automatic discovery by MJ MCP server tool adapters.

    OperationKey: "PredictiveStudio.CreateScoringProcess"

    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.

    ToolDescription?: string

    Human/LLM-readable description when exposed as an Agent or MCP tool.

    ToolInputSchema?: Record<string, RemoteOpToolSchemaValue>

    Optional JSON-Schema object describing TInput when exposed as an Agent or MCP tool.

    Accessors

    • get GrantsServerWriteAuthority(): boolean

      Whether executing this Remote Operation on the server establishes an authorized ServerOperationScope for entities configured with WriteAuthority = 'ServerOperationOnly'.

      Domain operations default to true. Generic client CRUD transports (such as SaveEntityGraphOperation) override this to false so clients cannot bypass ServerOperationOnly gates by wrapping entity writes in a generic graph mutation.

      Returns boolean

    Methods