SAP Knowledge Base Article - Public

3121444 - OData API: Updating a Dynamic Group Definition

Symptom

You would like to update Dynamic Groups using SuccessFactors OData API.

You notice that some of the objects related to the dynamic group do not support upserts/updates/imports:

  • DGPeoplePool
  • DGFilter
  • DGExpressions
  • DGFieldValue

  

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

  

Environment

  • SAP SuccessFactors HXM Suite
  • OData API

  

Reproducing the Issue

You attempt to Create or Update some Dynamic Groups via OData API in your SuccessFactors system

You received an error which states that some of the Dynamic Group (DG) entities do not support UPSERT

Cause

DG entities (DGPeoplePool, DGFilter, DGFieldValue, DGExpression, etc) do not support the UPSERT operation directly.

  

 

Resolution

DG entities (DGPeoplePool, DGFilter, DGFieldValue, DGExpression, etc) need to created / updated via the DynamicGroup entity

The DynamicGroup does support UPSERT operation & this entity should be the root (i.e. Starting Point) of UPSERT request to update Dynamic Groups in SF via OData API.

  

Please refer to Use Case 3: Update a Dynamic Group Definition & Use Case 4: Create a Dynamic Group Definition in the SF OData API Reference Documentation:

See Also

  

Keywords

DGPeoplePool, DGFilter, DGExpressions, DGFieldValue, Dynamic, Definition, Group, RBP, Role-Based Permissions, upsert, update, import, query, entity, object    , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM all versions