Symptom
- Workflow approval notification e-mails generated in non-production tenants contain the production hostname in the embedded approval URLs or vice versa.
- Workflow instances exist in the non-production tenants, but the URLs embedded in the notification e-mails differ from the actual tenant URLs.
- Area where the issue is experienced: workflow notification; category: issue with automatic workflow system e-mails.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Generate a workflow approval notification e-mail in a non-production tenant.
- Open the e-mail and inspect the embedded approval URL.
- Observe that the URL contains the production hostname instead of the non-production hostname.
or Vice versa
Cause
- The workflow e-mail template in the non-production tenant contains a hard-coded production tenants URL.
Resolution
- Review the workflow e-mail template(s) used for approval notifications in each non-production tenant.
- Locate any hard-coded hostnames within the embedded approval URLs.
- Replace the production hostname with the correct hostname of the respective non-production tenant.
- Save and activate the updated template(s).
- If templates are transported between tenants, ensure:
- 1. Before transporting to production: confirm the template in the source system does not contain non-target hostnames for the destination.
- 2. After any transport is finished: adjust the hostname in the template to the non-production tenant’s hostname, if it was inherited as production.
- Trigger a new workflow approval notification and verify that the embedded approval URL points to the correct non-production tenant.
See Also
Keywords
workflow notification, approval email, embedded URL, wrong hostname, production URL in test, non-production tenant, email template, automatic workflow e-mails, approval link, URL mismatch, workflow binding, public cloud workflow, s/4hana cloud, workflow email template, tenant hostname , KBA , MM-PUR-GF-WOF-2CL , Workflow (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public