We want to change the value of the field "Status" in an Email Message during a flow (e.g. from "Read" = 1 to "New" = 0). But the object "Email Message" seems to be read-only when using it in flows, because we always get an error back from the Salesforce system ("INVALID_OPERATION") when trying to update any fields of an email message record, although the email message record ID is 100% correct (we've validated that; when we use the same ID for simply displaying the field "Subject" everything works as intended).
So our question is: Could anybody suggest a solution? Are we doing something wrong?
Perhaps someone had similar problems and give us a hint. Some screenshots of a simple sample flow would be helpful, if you could provide this.
Any help will be appreciated.
Thanks a lot in advance
Frank
Hi,
Please review this - https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailmessage.htm
I attached a screenshot for your reference - The Status field is mostly read-only. You can change the status only from New to Read.