SAP Knowledge Base Article - Public

3033838 - Talent Pool API is pulling all nominations Active / Removed

Symptom

When running an API call for Talent Pool it is pulling all nominations not just active nomination status.

Environment

  • SAP SuccessFactors Succession Management
  • SAP SuccessFactors Talent Pools

Reproducing the Issue

1. Login to Postman

2. Use below query https://<hostname>/odata/v2/TalentPool?$format=json&$expand=nominationNav

3. Results show nomination of removed, rejected and approved.


},
                            "id": "121",
                            "nomineeUserId": "28011",
                            "note": null,
                            "lastModifiedDateTime": "/Date(1445566481000+0000)/",
                            "readinessLabel": "1-2 years",
                            "readiness": "1",
                            "lastModifiedBy": "sfadmin",
                            "statusLabel": "Removed",
                            "status": 3,
                            "userNav": {
                                "__deferred": {
                                    "uri": "https://apisalesdemo8.successfactors.com:443/odata/v2/Successor(121L)/userNav"
                                }
                            },
                            "lastModifiedByNav": {
                                "__deferred": {
                                    "uri": "https://apisalesdemo8.successfactors.com:443/odata/v2/Successor(121L)/lastModifiedByNav"
                                }
                            },
                            "nomineeHistoryNav": {
                                "__deferred": {
                                    "uri": "https://apisalesdemo8.successfactors.com:443/odata/v2/Successor(121L)/nomineeHistoryNav"
                                }
                            }
                        },
                        {
                            "__metadata": {
                                "uri": "https://apisalesdemo8.successfactors.com:443/odata/v2/Successor(122L)",
                                "type": "SFOData.Successor"
                            },
"id": "5285",
                            "nomineeUserId": "emeskita",
                            "note": "For testing Purposes only",
                            "lastModifiedDateTime": "/Date(1587078017000+0000)/",
                            "readinessLabel": "Emergency Replacement",
                            "readiness": "3",
                            "lastModifiedBy": "sfadmin",
                            "statusLabel": "Approved",
                            "status": 1,
                            "userNav": {
                                "__deferred": {
                                    "uri": "https://apisalesdemo8.successfactors.com:443/odata/v2/Successor(5285L)/userNav"


Cause

The OData API will directly show all status of successors which includes removed, rejected and succeed. OData API is used for meta data which should keep original data.

Resolution

Advise the customer to use the Talent Pool Adhoc Report if they want to show only active nominations.

See Also

https://help.sap.com/viewer/28bc3c8e3f214ab487ec51b1b8709adc/2011/en-US/7eb6b17051dc4d91892e86ff938bae6b.html

Keywords

Talent Pool API , KBA , LOD-SF-SCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors HXM Core all versions