2434061 - PostNewhireRecord API doesn't trigger correct process

SAP Knowledge Base Article - Public

2434061 - PostNewhireRecord API doesn't trigger correct process

Symptom

We have specified the XpressHR.Process as "Cust_Onboarding_Process" in the Request of the PostNewhireRecord API

<xpresshr:Field name="XpressHR.Process" value="Cust_Onboarding_Process"/> 

However when we POST the API it triggers the SAP delivered standard Onboarding Process. We then switch off the SAP delivered Onboarding Process and re-POST the API again it triggers the "Cust_Onboarding_Process"

 

Resolution

We need to update the xml code in the API call.

Make below modification in the XML to trigger the correct custom process mention in the API.

 

Before fix code is : 

<xpresshr:Field name="XpressHR.Process" value="Onboarding_Process"/>

</UserArea>

 

Code Update to fix: 

<xpresshr:CustomField name="Process" value="Onboarding_Process"/>

</UserArea>

Keywords

KBA , LOD-SF-OBD-API , Webservices & API's , Problem

Product

SAP SuccessFactors HCM Core 1611