SAP Knowledge Base Article - Public

2858174 - Custom Time off workflow Notification with Number of days taken or custom email Notification Templates For MDF object

Symptom

  • Trying to build a custom time off workflow notification for our organization.
  • Wanted to check if it is possible to fetch the number of days of applied leave for an employee and map it in the custom notification.
  • Tried writing a document mapping rule by adding the EmployeeTime parameter to the document mapping rule type but it is not returning any value.
  • MDF Custom Email notification Template

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors Employee Central Document Generation
  • SAP SuccessFactors Employee Central Time Off
  • SAP SuccessFactors Employee Central Workflow

Reproducing the Issue

  • Create a document generation mapping rule for fetching Number of days leave taken, but system generates document with blank values.
  • Even in custom email notifications mapped placeholders for 'number of days' returns null value.

Cause

  • Document generation templates(custom email Templates) will not read the Objects with Effective date ‘None’.
  • 'Employee Time Object' Effective Date by default will be None and cannot be changed. So, the system is retrieving blank values in the custom email template when triggered.

Resolution

Currently, system limitations on the Time Off e-mail notification Tags.

Refer our Handbook on the Supported Tags Here

Page Available:Workflow Tags For e-mail Notifications and Alert Messages

Kindly raise an enhancement for the requirement of retrieving the value for Number of Days(Leave Duration) from the Employee Time object.

For detailed steps on how to raise an enhancement request, please follow KBA Article 2090228 on “How to submit an enhancement request”.

See Also

Employee Central Document Generation Guide here

Chapter:MDF Objects

Keywords

Time Off Document Generation, Time Off Custom workflow e-mail, Time Off Custom e-mail notification, Leave Duration in Document Generation, Number of Days in Document Generation, Number of days in custom e-mail notification, Leave Duration in e-mail notification, Custom e-mail notification, Document Generation , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC-DOC , Document Generation , Product Enhancement

Product

SAP SuccessFactors Employee Central 1908 ; SAP SuccessFactors HCM Core 1908