Member Junction
    Preparing search index...

    The per-run context handed to a registered factory. Carries the resolved Record Process fields the factory needs to build its processor, plus the dry-run flag, WITHOUT coupling the base package to the MJRecordProcessEntity type (the base package depends only on @memberjunction/core + @memberjunction/global). The engine populates this from the loaded Record Process; the registered factory reads Configuration / InputMapping to build itself.

    interface RecordProcessorBuildContext {
        Configuration?: string;
        DryRun?: boolean;
        EntityID?: string;
        InputMapping?: string;
        OutputMapping?: string;
        RecordProcess?: unknown;
        RecordProcessID?: string;
        RecordProcessName?: string;
        WorkType: string;
    }
    Index

    Properties

    Configuration?: string

    The Record Process's Configuration JSON string (work-type-specific config), if any.

    DryRun?: boolean

    True when this is a dry-run (compute-only) pass — the factory should honor it when supported.

    EntityID?: string

    The target entity id of the Record Process.

    InputMapping?: string

    The Record Process's InputMapping JSON string, if any.

    OutputMapping?: string

    The Record Process's OutputMapping JSON string, if any (write-back targets).

    RecordProcess?: unknown

    The loaded Record Process record itself, as an opaque object. The engine passes the real MJRecordProcessEntity; a factory that needs fields beyond those projected above can read them off this with its own typing. Typed as unknown so the base package stays free of @memberjunction/core-entities.

    RecordProcessID?: string

    The Record Process id (lineage / diagnostics).

    RecordProcessName?: string

    The Record Process name (diagnostics).

    WorkType: string

    The work-type key being built (the registry lookup key).