Skip to content

Reshape::FieldsToFieldGroupWithConstant adds constant when no field group values #117

@kspurgin

Description

@kspurgin

Tried in migration project:

            transform Reshape::FieldsToFieldGroupWithConstant,
              fieldmap: {
                ben_assocstructureddategroup: :assocstructureddategroup
              },
              constant_target: :assocdatetype,
              constant_value: 'received'

Added "received" to all rows, even those with no assocstructureddategroup values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions