Process fails when Task is created via Salesforce for Outlook
|Knowledge Article Number||000220428|
|Description||A Process for Task create that references the Task.WhatId is failing when you add an email via Salesforce for Outlook that creates a Task.
The error may be similar to: The flow failed to access the value for myVariable_current.Account.Id because it hasn't been set or assigned.
|Resolution||With Salesforce for Outlook, associations are completed after the Task is created, so the Task.WhoId and Task.WhatId fields aren’t immediately available for insert and update events, and their values are initially null. The WhoId and WhatId fields are set on the saved task record in a subsequent operation, however, so their values can be retrieved later. This is why on Create, via SFO, the Process is failing.|