Hello,
I am creating a record in the 'Email' entity, triggered by a field change in the 'regarding' entity.
I can successfully create the record and set the fields shown in the code below, with the exception of the 'sender' field. The email address I am using is a valid email address from the 'systemuser' entity, and in fact is the email address for the ownerid.
There are no error messages generated when creating the record. It appears that the 'sender' field is simply being ignored.
I created a flow that is triggered when the email record is created/modified. I created the record and then entered the 'sender' email address manually. When I compared the output from the two flows, the only thing that changed in the email body (other than modified timestamp, version) was the 'sender' field. No other lookup fields or anything else was modified.
Any idea where I'm going wrong?
Hello,
Try to replace "sender" with the following:
"email_activity_parties": [
{
"addressused":"xxx@gmail.com",
"participationtypemask": 1
}
]
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2