SAP Knowledge Base Article - Public

3243838 - Error "provide value for field subjecUser" for custom MDF in Onboarding

Symptom

When the candidate tries to attach the document the Error "provide value for field subjecUser" happens.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Custom objects with attachment fields for the onboardee are needed, those attachment should be categorized in opentext
  2. For this purpose we have follow steps: ONB 2.0 Documents Integration to OpenText | SAP Blogs
  3. However, when the onboardee attach the document, an error displays: Please provide value for field subjecUser

Cause

Attachment Configuration to store subject user field as entity ID for attachments being uploaded on the custom object.

To populate subject user field on custom objects, customer is using initialization to set the value from User Data Collection. But during initialization this association would not be available. Hence it will not work.

Due to which below exception was thrown: To associate the attachment "xy" with ID "abc", please provide the value for field subjectUser.

Resolution

  1. Access Admin center
  2. Configure Object definition
  3. Object definition and cust_docattach
    a) Subject user is not mandatory field and can be removed from form if not required. We have delete button next to the field and form can be accessed via Take action > Make Correction.
    b) If Subject User has to be populated but should not visible on UI. It can be populated via Rule and subject user field can be set with same value as config_user.subject_user.
  4. Change the rule to Save rule instead of Initialization rule

See Also

ONB 2.0 Documents Integration to OpenText | SAP Blogs

Keywords

Onboarding, Configure object definition, Subject User, subjectUser, Associate the attachment, Please provide the value for field subjectUser. , KBA , LOD-SF-OBX-CDC , Custom Data Collection , How To

Product

SAP SuccessFactors Onboarding all versions