Timeline for Single Email Failed SaveAsActivity is not allowed with whatId Although the WhatId is Contact
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 9, 2020 at 15:19 | vote | accept | Liron C | ||
Dec 9, 2020 at 15:19 | comment | added | Liron C | Thanks. I previoulsy wanted to use both the target object and the related to, as I was using the {!RelatedTo.Id} in the template, I changed it to be {!Recipient.Id} and now indeed it is enough to set only the target object. The contact email in the script was only for testing, in the real code it is optional email with sales user email. | |
Dec 9, 2020 at 14:19 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |