Answer
Yes, Reltio supports nesting in Interactions. Interactions are lightweight objects that represent any kind of interaction or transaction. They can have attributes that can be of simple, nested, and reference types.
Example Interaction Type - Meeting
{
"URI": "configuration/interactionTypes/Meeting",
"label": "Meeting",
"attributes": [
{
"URI": "configuration/interactionTypes/Meeting/attributes/Place",
"name": "Place",
"label": "Place",
"type": "String"
},
{
"URI": "configuration/interactionTypes/Meeting/attributes/Notes",
"name": "Notes",
"label": "Notes",
"type": "String"
}
],
"memberTypes": [
{
"URI": "configuration/interactionTypes/Meeting/memberTypes/participants",
"name": "participants",
"label": "participants",
"objectTypeURI": ["configuration/entityTypes/Individual"],
"minOccurs": 1
},
{
"URI": "configuration/interactionTypes/Meeting/memberTypes/organizers",
"name": "organizers",
"label": "organizers",
"objectTypeURI": ["configuration/entityTypes/Individual"],
"minOccurs": 1
}
]
}
Best Practices for Using Nested Attributes in Interactions
- Define Nested Attributes: When creating an Interaction Type, you can define nested attributes by specifying child attributes within the parent attribute.
- Use Appropriate Data Types: Ensure that the child attributes within a nested attribute are of the appropriate data types (Simple, Nested, or Reference) based on your requirements.
- Maintain Data Integrity: When updating nested attributes, be mindful that changes to the parent attribute may reset the values of the dependent child attributes to null.
- Efficient Data Management: Utilize Reltio's capabilities to manage and manipulate nested attributes efficiently, ensuring optimal performance and data consistency.
Comments
Please sign in to leave a comment.