Symptom
- E-signature task is not triggered to the candidate due to BPE error.
- Error: Failed to parse form XML due to DocumentException
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Initiate Onboarding and proceed to the E-signature step;
- E-signature task is not triggered;
- There is an error in Business Process:
- HCP Error Message: Http Status Code 400
- Operation /odata/PDF (for FormId XXX Locale XX_XX) returned status code 400
- HCP Response Content: {"error":{"code":"702","message":"Failed to parse form XML due to DocumentException; the XML is illegal. Please correct the XML."}}
Cause
It's a data issue. The candidate entered special characters when filling in the onboarding information.
Resolution
Step 1 Identify the field containing special characters
- Go to Onboarding data collection user configuration
- Enter the onboarding process Id
- Locate the field that contains special characters
Step 2 Remove the special characters from the field
- Go to Onboarding dashboard
- Find the impacted candidate and edit the New Hire Data
- Remove special characters from the field and save the change
Step 3 Restart the process
- Go to Business Process
- Restart the process
- The E-signature task should be triggered as expected
Keywords
e-signature task doesn't trigger, e-signature failed, e-signature missing, XML is illegal, Http Status Code 400, Failed to parse form XML due to DocumentException, Please correct the XML, DocumentException , KBA , LOD-SF-OBX-DOC , Generation of Documents using PFS , Problem
Product
SAP SuccessFactors Onboarding all versions