SAP Knowledge Base Article - Public

3104301 - OData API: onSave business rule not triggered via API

Symptom

When performing an upsert request via API call:

  • The business rule is not triggered. 
  • This rule is triggered through UI but not when an API upsert is performed. 

Environment

  • SAP SuccessFactors HXM Suite
    • Odata API
    • Business Rules

Reproducing the Issue

  1. Create an onSave rule on base object "Compensation Info".
  2. Perform an upsert on a record via API.
  3. Rule is not triggered. 

Resolution

This is expected behaviour. It can only be triggered via change in the UI. 

  • API upsert will not trigger this rule. 
  • The only OData APIs that trigger business rules are EmpJob, EmpEmploymentTermination, and PerPersonal. Side effect: What is it?

Keywords

Odata, API, Business Rules, API call, EmpJob, EmpEmploymentTermination, PerPersonal , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HXM Suite all versions