For this guide to work as intended, please ensure that you have configured your integration correctly as described in Enhanced Duplicate Management with Salesforce Duplicate Detection.
If RaiseNow omits an update due to the field being defined as protected, a platform event will be triggered in Salesforce.
"RaiseNow__Object_Duplicate_Detected__e": {
"RaiseNow__Matched_Record_Identifier__c": "0037Q00000eLLt7QAG",
"RaiseNow__Matched_Record_Entity_Type__c": "Contact",
"RaiseNow__RaiseNow_Record_Identifier__c": "fd2dd3c5-f4ac-4c3b-b82b-26776167d2f9",
"RaiseNow__Report_Message__c": "These fields were not updated as they have been configured as protected.",
"RaiseNow__Ignored_Fields__c": "{\"FirstName\":\"Anton\"}"
}
You can leverage this event to implement your own back-office process for a semi-automated review of the fields omitted in the update. In this example we are using Salesforce flow to execute a defined process when RaiseNow triggers above platform event.
We define a text resource in flow to make our life a bit easier in the last step.
Now we simply create new Task record in Salesforce.
The end result will now look something like this:
Comments
0 comments
Please sign in to leave a comment.