Valid values for Status Reason (statuscode) depend on the associated Status (statecode).
To view valid values of Status and Status Reason for each record type, see Default values of Status and Status Reason attributes (Resource Center). How this data is imported depends on whether the information exists in your source files:
Suggested Preparation in Source Files
If status and status reason data is in your source files, verify that:
- OR -
Example of Using a Data Map to Map Status and Status Reason Values
The following steps show how to edit the data map for two columns in your lead file:
These steps assume you create your own data map. For details of the data map elements used in the example, see Data Map Schema Reference.
Status Value |
Valid Status Reason Values |
---|---|
Open (0)* |
New (1)* Contacted (2) |
Qualified (1) |
Qualified (3)* |
Disqualified (2) |
Lost (4)* Cannot Contact (5) No Longer Interested (6) Canceled (7) |
The Status Reason values must map to valid Status values. If your source system Status values do not map 1:1 with Status values, you need to edit your source data to match the structure because Status values are not customizable.
This example is based on finding records that match the structure using one of the following patterns:
Status Mapping |
Status Reason Mapping |
Comment |
---|---|---|
"New" and empty --> Open (0) |
empty --> New (1) "Contacted" --> Contacted (2) |
Since "Contacted" matches Contacted, no mapping is needed. |
"Not Qualified" --> Disqualified (2) |
"Cannot contact" --> Cannot Contact (5) "Not interested" --> No Longer Interested (6) |
Since "Cannot contact" matches Cannot Contact, no mapping is needed. |
The data map sections will look like this:
<AttributeMap>
<SourceAttributeName>Status</SourceAttributeName>
<TargetAttributeName></TargetAttributeName>
<ProcessCode>Ignore</ProcessCode>
</AttributeMap>
<AttributeMap>
<SourceAttributeName>Status Reason</SourceAttributeName>
<TargetAttributeName></TargetAttributeName>
<ProcessCode>Ignore</ProcessCode>
</AttributeMap>
<AttributeMap>
<SourceAttributeName>Status</SourceAttributeName>
<TargetAttributeName>statecode</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
</AttributeMap>
<AttributeMap>
<SourceAttributeName>Status Reason</SourceAttributeName>
<TargetAttributeName>statuscode</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
</AttributeMap>
<AttributeMap>
<SourceAttributeName>Status</SourceAttributeName>
<TargetAttributeName>statecode</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
<PicklistMaps>
<PicklistMap>
<SourceValue>New</SourceValue>
<TargetValue>0</TargetValue>
<ProcessCode>Process</ProcessCode>
</PicklistMap>
<PicklistMap>
<SourceValue></SourceValue>
<TargetValue>0</TargetValue>
<ProcessCode>Process</ProcessCode>
</PicklistMap>
<PicklistMap>
<SourceValue>Not Qualified</SourceValue>
<TargetValue>2</TargetValue>
<ProcessCode>Process</ProcessCode>
</PicklistMap>
</PicklistMaps>
</AttributeMap>
<AttributeMap>
<SourceAttributeName>Status Reason</SourceAttributeName>
<TargetAttributeName>statuscode</TargetAttributeName>
<ProcessCode>Process</ProcessCode>
<PicklistMaps>
<PicklistMap>
<SourceValue></SourceValue>
<TargetValue>1</TargetValue>
<ProcessCode>Process</ProcessCode>
</PicklistMap>
<PicklistMap>
<SourceValue>Not Interested</SourceValue>
<TargetValue>6</TargetValue>
<ProcessCode>Process</ProcessCode>
</PicklistMap>
</PicklistMaps>
</AttributeMap>
Note