SAP Knowledge Base Article - Public

2462081 - Workflow Auto Escalation job failed

Symptom

Workflow Auto Escalation job failed in Provisioning. The Job Details has the root cause as "while trying to invoke the method java.lang.String.lastIndexOf(java.lang.String) of a null object loaded from local variable 'emailMessage'".

Environment

Employee Central: Workflows

Cause

The following templates have to be saved for different locales from Admin Centre -> E-mail Notification Templates Settings depending on the locales of the users involved in the workflow:

  • Workflow Action Escalate Notification
  • Workflow Action Escalate Revoke Notification
  • Workflow Action Escalate Decline Notification

ents.JPG

Selecting these templates will show the following:

Auto_esc_error.JPG

Resolution

  • Review if escalation is correctly configured in manage data.
  • Make sure Workflow Action Escalate Notification, Workflow Action Revoke Notification and Workflow Action Decline Notification are activated under Comapny Setting > Email Notification template Settings.
  • Change templates to the correct locale you are trying to send out email:
  1. Admin Centre -> Email Notification Templates Setting.
  2. Download the template.
  3. Unzip the downloaded file. Open the .txt file.
  4. Change the language to the required languages. For example, current language of the templte may be en_GB; change it to en_US and Save the file.
  5. Upload the file.

Keywords

localization locale language , KBA , LOD-SF-EC-WFL , Workflow & Trigger (Rules & XML) , Problem

Product

SAP SuccessFactors HCM Core 1611 ; SAP SuccessFactors HCM Core 1702