SAP Knowledge Base Article - Public

3434427 - Token [[SUBJECT_USER]] not showing on Alert Message [Custom MDF]

Symptom

  • Token [[SUBJECT_USER]] is missing from email notification from Alert Message in Custom MDF
  • Missing token in Custom MDF Workflow Notification
  • Workflow notification is triggered without [[SUBJECT_USER]] token

Environment

SAP SuccessFactors HCM Suite

Cause

  • The rule alert is configured to be triggered by a Child Object.
  • AlertMessage object in the Configure Object Definition has no Maximum Length specified for the alertDescription field.
  • External code field of the custom object under Configure Object Definition is not configured as a "User" data type. Because the [[SUBJECT_USER]] token is based on MDF Person-Based Data, the externalCode of the custom object must also be person-based. If the externalCode is not of type user, the token will not function correctly.

Resolution

Ensure that the object definitions are correctly configured as described below:

  • Set the rule alert on the Parent Object.
  • Verify the AlertMessage object definition:
    1. Go to Configure Object Definitions and search for AlertMessage.
    2. Confirm that the "alertDescription" field is configured with a maximum length of 4000 characters.
  • Check the externalCode type. If the externalCode is not of type User, make sure to define a User Type field in both:
    • Subject User Field
    • RBP Subject User Field

Important:
Changing the externalCode type after an object has data is not recommended, as this may result in data loss. If you intend to use an user-type token when configuring an alert, plan this during the object’s initial creation or set a User Type field in the configuration fields mentioned above.

For detailed instructions on how to configure MDF Alerts & Notifications using Custom MDF, refer to the article: 2560623 - Step by step configuration of MDF Alerts & Notifications [Custom MDF] 

See Also

Keywords

[[SUBJECT_USER]], missing token, custom MDF notification, alert message missing token, SUBJECT_USER missing , KBA , LOD-SF-MDF-ALR , MDF Alerts , Problem

Product

SAP SuccessFactors HCM Suite all versions