Symptom
- Activating a newly copied workflow in Manage Workflow for Supplier Invoices fails.
- Error: "Notification eMail template id 'YY1_MRM_WF_DEADLINE_URL_TEST' not valid for workflow"
- Error ID/code: SWF_FLEX_DEF/225.
- Issue can happen with any document
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open Manage Workflow for Supplier Invoices.
- Copy an existing active workflow to create a new workflow for "Workflow for Parked invoice as Complete".
- Attempt to activate the copied workflow.
- Observe error SWF_FLEX_DEF/225: "Notification eMail template id 'YY1_MRM_WF_DEADLINE_URL_TEST' not valid for workflow".
Cause
The workflow validation failed because it referenced a notification email template ID that did not exist (deleted), which triggered SWF_FLEX_DEF/225 during activation.
Resolution
- Review deadline settings in each workflow step and identify the referenced notification email template for deadline notifications.
- Restore or recreate the missing email template using the same ID referenced by the workflow, or update the workflow step’s deadline notification to a valid existing template ID.
- Save the workflow definition and activate it again to confirm the error no longer occurs.
Keywords
SWF_FLEX_DEF/225, email template id not valid, flexible workflow, supplier invoice, manage workflow for supplier invoices, deadline notification, activation error, workflow copy, parked invoice as complete, notification template, missing template, workflow validation, BC-BMT-WFM, workflow step deadline settings , KBA , MM-IV-INT-WF-2CL , Workflow (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public