New answers tagged

0 votes
Accepted

How to assign the lead owner data to contact in a trigger?

You can write that something like this. First, we'll initialize some variables. Set<Id> ownerIds = new Set<Id>(); Account[] newAccounts = new Account[0]; Contact[] newContacts = new ...
user avatar
  • 433k
0 votes

LeadHistory NewValue Field Print Different Values

If you do a query on LeadHistory SELECT Id, Owner, OldValue, NewValue FROM LeadHistory WHERE LeadId = '00Q7h000008V76TYA0' you'll discover there are two rows returned One for the change in ID One ...
user avatar
  • 62.3k
0 votes
Accepted

How to get Salesforce Lead object details in lambda Function?

From the Amazon Connect for Salesforce docs, the phoneLookup operation is supported for Contact and its related object only (Hence you see Account works fine because Contact object is related to the ...
user avatar

Top 50 recent answers are included