Error:
We have the following error message from Salesforce system when we try to deploy a process builder from dev environment or to Production environment.
myRule_1_A1 (Action Call) – We can’t find an action with the name and action type that you specified
Reason:
The process builder contains a sub entity in this case it was a email alert, while trying to deploy the process builder the email alert would not be able to added to the deployment package automatically. This being a inbuilt behavior of salesforce. To bypass this if one looks for a metadata type which can be added to package.xml file to retrieve it from the salesforce org, the only thing you would find is an email template but no Email Alert.Although, this behavior has been fixed as per salesforce given the below reference link.
Process Builder unable to save Email Alert Action when component is cont…
Solution:
As a workaround and not a complete solution :- 1) Add the email alert and the email template in a dummy workflow and activate the workflow just till the deployment is successful and then deactivate it. 2) Remove the email alert from the process builder and use a alternative solution as per requirement.
Commentaires