@Behzad Kekobad I would not look towards LCAs to do something like this. If anything, I would suggest like above that you look towards an async process which tracks changes to the objects in the external SQS queue. An sync process can then grab whatever information you want and trigger a Reltio Cleanse call and post the object back on a crosswalk.
I do think there are nuances here though to leveraging relationship attribution for addresses. Typical consolidation and survivorship do not really exist on relationships, so I would suggest looking again at if a standard location entity may be a better fit for what you are trying to solve for. Deciding a path forward on keeping address on a relationship is probably too complex of a topic for forum discussion though. Either way, I would not use LCAs for something like this.
------------------------------
Mike Frasca
------------------------------
Original Message:
Sent: 08-11-2022 10:48
From: Behzad Kekobad
Subject: LCA Hooks for Relationship Changes
Hi Mike,
We have addresses on a relationship, which Reltio does not cleanse as Loqate only works on Entities.
Can we leverage LCA to cleanse address on a relationship? LCA hook will call the Reltio API to cleanse the address.
If yes, would the address cleanser show up as crosswalk under Reltio Cleanser?
Behzad
------------------------------
Behzad Kekobad
Ritchie Bros
Original Message:
Sent: 04-28-2021 11:04
From: Mike Frasca
Subject: LCA Hooks for Relationship Changes
Gowtham,
Snehil has already provided information around relationship hooks, but I would suggest that you look at leveraging the external SQS queue for this. CREATE_RELATIONSHIP is an event that is broadcast to the queue. This will allow you to execute this process asynchronously to the relationship save, improving the performance of normal operations and giving you more control over the processing. For all AFTER save hooks, we would recommend that using the SQS is a more efficient and controllable mechanism for you and your team. I have also provided a link to our LCA best practices.
Recommendations for LCA
Reltio | remove preview |
| Recommendations for LCA | Some recommendation that you can consider for your LCA. Use LCAs only for simple operations. Complex operations must be developed outside of the LCA framework. Avoid invoking Reltio APIs from LCAs unless absolutely necessary. This could impact performance and can lead to infinite loops. Prevent cascading the LCA event from the LCA hook. | View this on Reltio > |
|
|
Let us know if you have any additional questions!
------------------------------
Mike Frasca
Original Message:
Sent: 04-27-2021 20:21
From: Gowthamprabhu Sivaraj
Subject: LCA Hooks for Relationship Changes
Does Reltio LCA has any specific hooks for Relations? I've a requirement to do some actions once the relation is created/updated. I can see we have hooks for Reference attributes. Do we have for Relation attributes ?
------------------------------
Gowthamprabhu Sivaraj
AstraZeneca
------------------------------