My Oracle Support Banner

Need To Get Survivor And Victim Party Id In Groovy - Before Update Person/Organization (Doc ID 2673457.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Fusion CX Sales Cloud Service - Version and later
Information in this document applies to any platform.


Need to get Survivor and Victim Party Id in Groovy - Before Update Person/Organization

We are trying perform some post merge operations on Account and Contact Objects. As a part of the functional requirements based on the values on some of the fields in the survivor record we want to set some fields also perform some CRUD operation on the child objects. 
We have tried the few options:
> Tried to get the MasterPartyId which is present OOTB on the Contact/Account Object and accessible by Groovy. But when we do a getAttribute and check the value it comes as blank in the BeforeUpdate and AfterChangesPostedtoDB of Contact/Account Object.

> We tried to use the functions getSurvivor(), getVictims() which are as a part of the new feature for Data Quality but it seems it is not supported inside the BeforeUpdate trigger.

Please suggest what is the best possible way to get the Survivor and Victim Party Ids.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.