SAP Knowledge Base Article - Public

3595216 - Workflow field of user data type resolves to null upon an update action

Symptom

Updates made to a custom field within a workflow associated with a custom object are not being retained upon update or approve for few users.

Environment

SAP SuccessFactors HCM suite

Reproducing the Issue

  1. Access the instance
  2. Navigate to the custom object portlet, enter the details and submit.
  3. Workflow is triggered and is now with the approver for the next actions
  4. Proxy as the approver
  5. Click on update and edit the field with user data type (enter the username/ user's name)
  6. Approve
  7. No data displayed on the updated field (this is observed only for few users)

Cause

The root cause of this issue has been identified as an extra trailing space in the "Fullname" of the user populated in step 5 of the replication step. 

Resolution

To resolve the issue, remove any extra spaces from the user's full name (specifically after the last name in the User Data File [UDF]).

During the save operation, when the value of the UI component is retrieved, it undergoes validation against the API result. Although the UI component trims trailing spaces from the full name, the API result may contain extra spaces. This discrepancy causes the comparison to fail, leading to the UI component not returning any value.

Keywords

Workflow, onSave, custom object, MDF, Update, Approval, LOD-SF-MDF, SuccessFactors , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , Problem

Product

SAP SuccessFactors HCM Core 2411