Symptom
You are trying to import "Trigger Rules - Rules Context" but you are receiving the error 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system.
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Go to Import and Export data
- Download the template for "Trigger Rules - Rules Context"
- Fill all the fields
- try to import and receive the error 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system.
Cause
The field External code needs to be empty because this unique ID will be automatically created by the system.
Resolution
- Go to Import and Export data
- Download the template for "Trigger Rules - Rules Context"
- Fill all the fields in the file except the field External code (triggerRules.ruleContext.externalCode)
- Import successfully
Keywords
import, rules trigger, rules context, import and export data, failed, 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system. , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , Problem