Skip to main content
Planview Customer Success Center

SFDC inbound integration fails to create opportunity when opportunity workflow is not enabled

Symptoms

SFDC inbound integration (online or filedrop) is configured and used for opportunity creation. The inbound message has a valid Status value, and the Integration Framework DataMapper config file "sfdc2cp_opportunity.xml" is correctly configured to find it. Opportunity creation fails with the following error in COM API log.

Error/warning messages
Warning for error code:-80 System metadata Mandatory check failed. [Status]


Resolution
In the sfdc2cp_opportunity.xml, add the following lines to the end of the field list: 

<!-- This field sets the API BypassWorkflow field to True -->
<FIELD>
  <DATATYPE>String</DATATYPE>
  <ORDER />
  <LOCATION>
  <INDEX />
  <START />
  <END />
  </LOCATION>
  <MAPPING>
  <CHANGEPOINT>bypassworkflow</CHANGEPOINT>
  <EXTERNAL />
  </MAPPING>
  <DEFAULTVALUE>true</DEFAULTVALUE>
</FIELD>