SAP Knowledge Base Article - Public

3707364 - Error after Approving a Workflow that was Updated: "[Field] is a required field/association in [Custom Object]"

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

  1. Navigate to the affected user.
  2. Update the workflow.
  3. Confirm the request and submit.
  4. Observe no error.
  5. Click on Update.
  6. Make a change to the record.
  7. Save and observe no error.
  8. 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

  1. Refrain from updating the values in the workflow after submission.
  2. Ensure all necessary fields are completed prior to submitting the workflow to avoid errors.

See Also

3539614 - Error when Approving Custom MDF Workflow unless you are proxied as the approver - SAP for Me 

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