Symptom
When the candidate tries to attach the document the Error "provide value for field subjecUser" happens.
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Custom objects with attachment fields for the onboardee are needed, those attachment should be categorized in opentext
- For this purpose we have follow steps: ONB 2.0 Documents Integration to OpenText | SAP Blogs
- 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
- Access Admin center
- Configure Object definition
- 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. - Change the rule to Save rule instead of Initialization rule
See Also
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