Skip to content

[FEATURE REQUEST] Allow Public Groups for Polymorphic Fields (e.g. UserOrGroupId) #1120

@6andrey

Description

@6andrey

While, I appreciate the documentation Can I override the default query for the User or Group objects?, there is a valid use case for Public Groups (not Queues) to be mapped.

For example, there is a requirement to insert AccountShare records. The query below is used:

Select AccountAccessLevel, CaseAccessLevel, OpportunityAccessLevel, AccountId, UserOrGroupId$Group From AccountShare

The external Id is set as:

"externalId": "AccountId;UserOrGroupId"

Please note the migration works fine for the SFDMU release up to at least 4.23.2. Then, after the #579 fix, the Group records are filtered by Type = Queue only, which leads to exclusion of any Public Groups.

Would be nice to be able to select if Groups can be:

  • not filtered at all (as in version 4.23.2 or earlier)
  • filtered by Type = Queue
  • filtered by Type = Regular

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