Task event

Version:

This topic describes how tasks with the subtype task from Salesforce are mapped to events in Sitecore.

Format in Salesforce

In Salesforce, a contact can be associated with multiple tasks. Each task is a separate object that is linked to the contact.

Note

Only completed tasks are read from Salesforce.

Format in Sitecore

In Sitecore, task details are stored in an event. The event is associated with an interaction. The following interaction facet is used to identify that the interaction came from Salesforce:

Facet NameSalesforceInteraction
Facet TypeSitecore.DataExchange.Tools.SalesforceConnect.Facets.SalesforceInteraction

The following event type is used to store event details:

Event TypeSitecore.DataExchange.Tools.SalesforceConnect.Events.TaskEvent

Mapping values

You must have separate mappings for the interaction facet and the event.

Source objectsinteraction facet, eventTask object from Salesforce
Target objectinteraction facetSitecore.DataExchange.Tools.SalesforceConnect.Facets.SalesforceInteraction
Mapping definitioninteraction facetSalesforce to xConnect Interaction Mappings maps to Salesforce Task to xConnect Interaction Salesforce Facet
Target objecteventSitecore.DataExchange.Tools.SalesforceConnect.Events.TaskEvent
Mapping definitioneventSalesforce to xConnect Event Mappings maps to Salesforce Task to xConnect Event
Mapping tasks from Salesforce to Sitecore
If you have suggestions for improving this article, let us know!