Symptom
- Error occurs when approving workflow after updating it.
- "[Field] is a required field/association in [Custom Object]"
Environment
SAP SuccessFactors HCM Core
Reproducing the Issue
- Navigate to the affected user.
- Update the workflow.
- Confirm the request and submit.
- Observe no error.
- Click on Update.
- Make a change to the record.
- Save and observe no error.
- Observe the error: "[Field] is a required field/association in [Custom Object]"
Cause
- Updating values in the workflow after submission is not supported.
- When a workflow is initiated, the associated data is stored in a pending table in the backend. Updates made to the user's data after the workflow is triggered are reflected in the main user data table, not in the pending data table.
- This mismatch between the data tables results in the system interpreting certain fields as blank, causing the error.
Resolution
- Refrain from updating the values in the workflow after submission.
- Ensure all necessary fields are completed prior to submitting the workflow to avoid errors.
See Also
Keywords
workflow error, required, field, association, custom object, workflow update error, approval, pending table mismatch, approval error , KBA , LOD-SF-MDF-WFL , Custom Object based Workflows , Problem
Product
SAP SuccessFactors HCM Core all versions
SAP Knowledge Base Article - Public