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
- Access the instance
- Navigate to the custom object portlet, enter the details and submit.
- Workflow is triggered and is now with the approver for the next actions
- Proxy as the approver
- Click on update and edit the field with user data type (enter the username/ user's name)
- Approve
- 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