0

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?

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

2 Answers 2

3

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.

1
  • Is it possible to expose custom field only in Inbox ? or Is there any way where we can auto populate the field ?
    – brahma
    Commented Oct 16, 2017 at 11:57
0

Task subject will begin with "Email:" if it is created as a result of email sync from Outlook

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .