vlocode-project - v2.4.3
    Preparing search index...

    Interface DatapackRecordComparisonResult

    Comparison details for a single record in a datapack.

    interface DatapackRecordComparisonResult {
        datapackKey: string;
        deployAction: DatapackRecordDeployAction;
        messages: string[];
        mismatchedFields?: RecordFieldMismatch[];
        missingData?: Record<string, unknown>;
        recordId?: string;
        sobjectType: string;
        sourceKey: string;
        status: DatapackRecordSyncState;
    }
    Index

    Properties

    datapackKey: string

    Key of the datapack root this record belongs to

    Action a deployment with delta check enabled would perform for this record:

    • none -- the record is in sync and would not be touched
    • update -- the matched org record would be updated with the mismatched field values
    • insert -- the record would be inserted as it is missing in the target org
    • unknown -- the record could not be compared; a deployment may still touch it
    messages: string[]

    Informational messages such as fields that could not be verified

    mismatchedFields?: RecordFieldMismatch[]

    Fields with different values between the datapack and the matched org record

    missingData?: Record<string, unknown>

    For missing records the exact record data that is missing in the target org

    recordId?: string

    ID of the org record the datapack record was matched against

    sobjectType: string

    SObject type of the record

    sourceKey: string

    Source key of the datapack record

    Sync state of the record compared to the target org