SAP Knowledge Base Article - Public

3511373 - E-signature task not being triggered due to BPE error: Failed to parse form XML due to DocumentException - Onboarding

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

  1. Initiate Onboarding and proceed to the E-signature step;
  2. E-signature task is not triggered;
  3. 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

  1. Go to Onboarding data collection user configuration
  2. Enter the onboarding process Id
  3. Locate the field that contains special characters

Step 2 Remove the special characters from the field

  1. Go to Onboarding dashboard
  2. Find the impacted candidate and edit the New Hire Data
  3. Remove special characters from the field and save the change

Step 3 Restart the process

  1. Go to Business Process
  2. Restart the process
  3. 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