I am required to write a trigger on the tasks created as a result of email sync from Outlook.But the problem is that I am not being able to differentiate between other tasks and the tasks created as a result of Email sync from outlook to salesforce. Is there any field that can let me know that whether the task was created as a result of email sync or other way?

  • Is that the tasks moving to unresolved items list just after syncing? Jul 19 '16 at 5:37
  • I really don't have any idea @Santanu,but they're adding up at the Contacts' Open Activities related list Jul 19 '16 at 6:49
  • Did you find any solution for this ? Oct 16 '17 at 11:37

By default, there's no distinction. The best solution to differentiate the tasks created from the Outlook to Salesforce sync vs. other tasks is to have a custom field which gets populated during the sync process. This can be a boolean flag or you can store any other sync information which may come in handy at a later stage.

The sync works based on Subject and Due Date. To find more details on how to control the specific task/ field syncing behavior, read here.

  • Is it possible to expose custom field only in Inbox ? or Is there any way where we can auto populate the field ? Oct 16 '17 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.