That would be same as for Entities eg.,
"survivorshipGroups": [
{
"uri": "configuration/relationTypes/<<Rel Type>>/survivorshipGroups/default",
"default": true,
"mapping": [
{
"attribute": "configuration/relationTypes/<<Rel Type>>/attributes/Role",
"survivorshipStrategy": "LUD"
}
]
}
]
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
------------------------------
Original Message:
Sent: 08-09-2023 04:28
From: Karthik karthik
Subject: Merging Two Entities
Hi Ashish,
Can you please help me with any sample code how to implement survivorship for Relationships.
------------------------------
Karthik
PWC
Original Message:
Sent: 08-08-2023 09:43
From: Ashish Rawat
Subject: Merging Two Entities
Entity/Relation with oldest uri survives always in case of merge. Since relationships already merged you can apply survivorship to get the appropriate start/end date to OV as per business requirement.
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
Original Message:
Sent: 08-08-2023 07:49
From: Karthik karthik
Subject: Merging Two Entities
Hi All,
We have two Entities Entity A & Entity B and both had relationship with Entity C .
Entity A to Entity C has relation StartDate as 01/06/2023 and relation EndDate as 08/08/2023.
Entity B to Entity C has relation StartDate as 30/06/2023 and relation EndDate as 08/09/2023.
when we merged Entity B with Entity A the relationship Entity A to Entity C & Entity B to Entity C also Merges which is an excepted behaviour.
where as the relation between Entity A to Entity C is the survivor even the Entity B to Entity C has highest Relation Enddate.
Is this an expected behaviour? if not what changes do i need to perform to avoid above scenario.
------------------------------
Karthik
PWC
------------------------------