How to fetch contact email and phone number before the contact is deleted using REST API in Groovy
Hi Team,
We have a requirement to store contact email/phone number whenever the contact is deleted. We are able to capture details if the contact is deleted using Delete button on UI but we are not getting the details if the contact is deleted using REST API.
Please assist
Placed the below code in Remove Trigger to capture the details on deletion using REST API.
def FirstEmail=Email?.first()
def FirstPhone=Phone?.first()
Thanks & Regards,
Nikhil
Tagged:
0