RCG Salesforce Marketing Listener - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
marketing-create-cim | Salesforce Marketing to CIM format mapping |
marketing-create-cim
Salesforce Marketing to CIM format mapping
Source:
./src/main/resources/dwl/marketing-create-cim.dwl
Mapping Tables
Maps Salesforce marketing to CIM format
CIM | Salesforce marketing | Description |
---|---|---|
partyType | Individual | Hardcoded partyType to Individual |
party.personName | EmailAddress | The Individual personal name from email address by removing special characters |
id | null | Hardcoded Id to null |
contactPointType | ContactPointEmail | Hardcoded Individual contact type to ContactPointEmail |
id | id | The Individual id |
activeFromDate | todays date | The Individual Active from date is hardcoded to todays date |
emailAddress | EmailAddress | The Individual contact email address |
externalIds.id | id | The global party Id of Salesforce Marketing |
externalIds.externalId | id | The Individual Id |
externalIds.externalIdType | SALESFORCE_MARKETING | The Global Id of Individual as in Salesforce Marketing |
externalIds.statusLastChangedDate | CreatedDate | Created Date date of Individual |
externalIds.status | VALID | The customer status is hardcoded as VALID |
auditInfo.createdDate | CreatedDate | Created Date date of Individual |
auditInfo.createdBy | application Name | The application Date |
auditInfo.updatedDate | CreatedDate | Created Date date of Individual |
auditInfo.updatedBy | application Name | The application Date |
auditInfo.isDeleted | IsDeleted | returns true if user deleted else false |