Symptom
- Autoflow execution fails when sending an email from a template.
- Error message in Autoflow log: "Template content not found - empty response from template service"
Environment
SAP Service Cloud Version 2
Reproducing the Issue
- In the User Menu, click System Settings
- Open Templates under Emails
- Create a Template (e.g. Template ABC)
- In the System Settings, open Autoflow under Business Flow
- Create an Autoflow (e.g. Autoflow 123)
- Use Template ABC for Autoflow 123
- Autoflow 123 is triggered for an business object
- In the System Settings, open Autoflow under Business Flow
- Open the Rule Log
Result: Autoflow 123 is failed.
Cause
- Only non English template(s) are maintained in the Template Documents and none of them has default switch enabled.
- When recipients have different communication languages, the system identifies multiple languages among them and uses the default template for all recipients. In cases where no default template is maintained, the email is sent in English, however if no English template maintained, the error could occur.
Resolution
- In the User Menu, click System Settings
- Open Templates under Emails
- Select the Template
- Click Edit
- Enable "Set default language"
See Also
SAP Help Portal: Support for Recipient’s Language in Email Templates for Autoflow
Keywords
autoflow failed, error, Template content not found, empty response from template service, email, e-mail, rule log , KBA , CEC-CRM-TMP , Templates for SAP Sales/Service Cloud , Problem
Product
SAP Service Cloud Version 2 all versions
SAP Knowledge Base Article - Public