Symptom
Middle name displays on Workflow requests but customer would like only the first and last names to be displayed using Text Replacement
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
Environment
Employee Central - Workflow and Trigger (Rules & XML)
Reproducing the Issue
- Trigger a Workflow
- Proxy as the approver
- First, Middle and Last name is shown
Cause
This is the expected behaviour of the system, by default, the middle name will show on the Workflow Details page.
Resolution
This can be overridden with the Text Replacement tool by accessing the User_Display_Name Key. Replace the empty 'Replace With Text' field with the following: $(First_Name) $(Last_Name)
Save your changes, you may need to log out for the changes to take effect. Only the first and last name will then be displayed on the Workflow Details page:
Warning
Please note, this is not limited to the Workflow Details page, if this key is replaced, the changes will be reflected on the Employee Profile as well as the email notifications.
Keywords
Text Replacement, Workflow, details, first, last, name, User_Display_Name, , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem