Product Selector

Fusion 5.9
    Fusion 5.9

    Resolve Multivalued Fields Index Stage

    Table of Contents

    The Resolve Multivalued Fields stage (previously called the Multi-Value Resolver stage) allows you to choose one value from a set of one or more field values using a set of pre-defined rules, based on either field name or field type. For each field name or field type rule, a strategy is defined. There are 6 available strategies:

    • DEFAULT: leave all values intact. This may cause problems if a field or dynamic field rule is not defined as multi-valued in the schema.

    • PICK_FIRST: choose the first value and discard all others.

    • PICK_LAST: choose the last value and discard all others.

    • PICK_BY_CREATOR: based on the name of the "creator" metatdata, choose the name of 'creator' as defined in the creatorStrategy property for the field name. Only the last matching value will be retained.

    • CONCATENATE_UNIQUE: choose to concatenate unique string values with a single space separator.

    • PICK_MIN: choose the minimum value and discard all others. If the values are non-numeric, then all non-numeric values will be discarded.

    • PICK_MAX: choose the maximum value and discard all others. If the values are non-numeric, then all non-numeric values will be discarded.

    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.

    Resolve multivalued fields into a single value based on rules

    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.

    typeStrategy - array[object]

    Mapping of types to a strategy. These supersede field strategies.

    object attributes:{fieldName required : {
     display name: Field Name
     type: string
    }
    resolverStrategy required : {
     display name: Resolver Strategy
     type: string
    }
    }

    fieldStrategy - array[object]

    Mapping of fields to a strategy

    object attributes:{fieldName required : {
     display name: Field Name
     type: string
    }
    resolverStrategy required : {
     display name: Resolver Strategy
     type: string
    }
    }

    creatorStrategy - array[object]

    Mapping of fields to a 'creator' name

    object attributes:{fieldName required : {
     display name: Field Name
     type: string
    }
    creatorName required : {
     display name: Creator Name
     type: string
    }
    }