SAP Knowledge Base Article - Public

3794116 - home assignment can retrieve global assignment performance to-dos via TodoEntryV2 api - Performance Management

Symptom

Home assignment could fetch performance to-do entries belonging to global assignment via TodoEntryV2 api, and vice versa.

Environment

SAP SuccessFactors Performance Management

Reproducing the Issue

  1. Ensure a person has global assignment or concurrent employment.
  2. Log in as one assignment and open the home page: the For You Today card only shows items for the current assignment.
  3. Call the OData TodoEntryV2 to retrieve open performance to-dos (for example: GET /odata/v2/TodoEntryV2).
  4. Observe that the API response includes performance to-do entries from both the home and global assignments of the same person.

Cause

TodoEntryV2 is person-based by design; when global assignment or concurrent employment is enabled, the default scope returns to-dos across all assignments for the same person, while the For You Today card remains assignment-based.

Resolution

How to retrieve a single assignment only?

Each entry carries its own userId. To restrict the response to one assignment, add a userId filter, for example: $filter=userId eq 'the id'.

Use the specific assignment’s user id (home or global) in the userId filter to retrieve only that assignment’s to-dos.

See Also

Keywords

todoentryv2, odata, performance to-do, global assignment, concurrent employment, home assignment, person-based, assignment-based, userId filter, performance management, inbox, for you today card, api, to-do entry, v2 , KBA , LOD-SF-PM-API , Webservices, OData APIs , Problem

Product

SAP SuccessFactors Performance & Goals all versions