Symptom
You are using OData API or other ways to create a new record, which triggers a workflow that requires approval.
After you approve the workflow, you query this new record via OData API (or Integration Center).
You find the field "createdDateTime" is not the time when you create this record. Instead, it's the time when workflow is approved.
Environment
SAP SuccessFactors HCM Core
- OData API
Reproducing the Issue
- Call OData API to upsert a record, which triggers the workflow
- Approve the workflow
- You find the "createdDateTime" is the time when workflow is approved
Resolution
This is working as designed.
If you upsert a record and workflow is required, at this time point the record will not formerly come into SF database.
After workflow is approved, the record will be created. The field "createdDateTime" and "lastModifiedDateTime" will be the time when workflow is approved.
Keywords
Insert, Upsert, import, Workflow, Data Change, pending, custom MDF, Record Update Date , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-INC-ODATA , ODATA API In Integration Center , LOD-SF-INT-MDF , Metadata Framework API (MDF) , Problem