Skip to content

Missing e-mail template

Detection

  • RegExp: In field: template - no EmailTemplate named (.*) found

Examples

  • Error Case_Alert In field: template - no EmailTemplate named Support/Case_Created found

Resolution

Email template {1} is not in the target org.
- Deploy it: retrieve it from your org with the Metadata Retriever of VS Code, commit it and save your User Story: sfdx-hardis adds it to manifest/package.xml
- If its folder is missing too, run sf hardis:project:clean:retrievefolders
- With delta deployments, an item that did not change in the Pull Request is not deployed: change it in the Pull Request, or turn on useDeltaDeploymentWithDependencies (https://sfdx-hardis.cloudity.com/salesforce-devops-config-delta-deployment/)

Comments