The "Create or Update Relationships" action doesn't handle symmetric relationships (e.g. "Spouse of-Spouse of") correctly.
Steps to Replicate
- Create a new Form Processor with 2 integer inputs "Contact A" and "Contact B".
- Create an action "Create or Update Relationships" and make the Relationship Type a symmetrical one ("Spouse of", "Sibling of", etc.).
- Go to Try Out and submit the form with two individual contact IDs.
- Submit the form again, but reverse the two contact IDs.
The relationship only exists once.
The relationship exists twice.
RelationshipCache entity was created to make this sort of issue much simpler. I was also able to simplify the