Legacy Product

Fusion 5.10
    Fusion 5.10

    Data Model Mapping Index Stage

    Table of Contents

    Data models simplify the process of getting started with Fusion by providing pre-configured objects to reduce the effort spent on basic starting tasks. This helps keep documents consistent between datasources and intuitive to the object’s type.

    The Data Model Mapping index stage is used to map the field values found in your documents to the data model fields.

    This index stage must be placed before the Call Data Model Pipeline index stage.

    Configuration

    When entering configuration values in the UI, use unescaped characters, such as \t for the tab character. When entering configuration values in the API, use escaped characters, such as \\t for the tab character.

    Map document fields to data model fields.

    skip - boolean

    Set to true to skip this stage.

    Default: false

    label - string

    A unique label for this stage.

    <= 255 characters

    condition - string

    Define a conditional script that must result in true or false. This can be used to determine if the stage should process or not.

    dataModelType - stringrequired

    Fusion Data Model type to map to

    matchTrigger - Match Trigger

    fieldToMatch - string

    The name of the field to match on. Enter '*' to match all documents that don't already have a data model.

    valueToMatch - string

    The value of the field to match on. Supports regular expression by wrapping the value in slashes, e.g.: '/text.*/'

    mappings - array[object]required

    List of mapping rules

    object attributes:{sourceField required : {
     display name: Source Field
     type: string
    }
    dataModelField required : {
     display name: Data model field
     type: string
    }
    }

    keepUnmappedFields - booleanrequired

    Default: false