Skip to content
This repository was archived by the owner on Jan 25, 2025. It is now read-only.
This repository was archived by the owner on Jan 25, 2025. It is now read-only.

Convert Validation rules on Relationship object to a Trigger #879

@skosgi1

Description

@skosgi1

Note: FOR INTERNAL USE ONLY. For support questions, please use the EDA Chatter group in The Power of Us Hub.
For feature requests, please use the Ideas tab in The Power of Us Hub.

  • Do you want to request a feature or report a bug?
    feature

  • What is the current behavior?
    Currently there are validation rules on Relationship object, which would make sure that the Relationship's Related Contact and Contact are not changed.

  • What is the expected behavior?
    Move the functionality from Validation rules to a Trigger.

  • What is the motivation / use case for changing the behavior?

  • Acceptance Criteria
    When a user edits "Contact" or "Related Contact" fields on a Relationship record it should not save the record and give an error message "Rather than change the Contacts in an existing Relationship, delete this Relationship and create a new one."

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedInternal SFDO WI has been createdenhancementImproving upon existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions