Skip to main content
Nintex Community Menu Bar
Question

How to Create/Update an EventRelation records for contacts or a Lead record

  • July 10, 2024
  • 2 replies
  • 40 views

Forum|alt.badge.img+6

I want to create/update an EventRelation  record related to an Event record,

In salesforce I could create an Event with multiple contacts or only one Lead (limitation);

If I want to update/change WhoId Lead Contact and save I mark rows for deletion and save, and this it will not work and I get Error : EventRelation can’t be created for a Event that already has a lead
OR if I change Contacts to Lead
Error:  EventRelation of a lead can’t be created for a Event 
that has already had EventRelation of contacts or accounts, opportunities, custom objects, and other entities.

How can I handle this situation? Please help.

2 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • July 10, 2024

I don’t think you’ll be able to get around the salesforce “1 lead” limitation on Event Relation. What SOQL returns is what it returns… 


Forum|alt.badge.img+6

Do you mean that I won’t be able to save the updated Event? (eg: remove existing Lead and add contacts)