[Solved] Flow Builder Deployment Error: “We can’t find an action with the name and action type that you specified”



In this post, we will talk about the solution regarding flow deployment.

The error message, “We can’t find an action with the name and action type that you specified,” is typically thrown when you’re trying to deploy a flow in Salesforce, and there is an issue with the actions within the flow

Let me briefly mention my case first to throw more light on the cause, I was deploying a flow with a custom notification reference in it. I introduced a custom notification in the flow just to send notifications when the account status is updated.

Surely, You are going to get a simple approach to deploy it without fail.

Requirement Overview

  • Deployment of a flow in which there is a custom notification embedded as action in it without fail.

Solution Approach

By following these steps and carefully reviewing your flow and deployment settings, you should be able to identify and resolve the issue causing it.

You can retrieve Flow, Custom notification, and Settings to get it properly deployed from package.xml.

Demo

Retrieve the files using this package.xml. After retrieving you can see three files one for Flow, the other for Notification type(extension of .notiftype) and the last one is Notifications.settings file.

You can explore more about notifications setting from here.

Conclusion

Hurray!!! These three above files will help you in smooth deployment.
Remember to follow best practices for deploying changes in Salesforce to ensure a smooth transition to the target environment. Additionally, consider using version control and a development process that aligns with Salesforce development best practices, especially if you are working in a team or managing multiple environments.

Hope you find this post useful! Catch you in next content.
And thank you for being an awesome reader.
Share and grow together !!

If you have any doubts you can comment down below, I will try to reply ASAP.

Also keep visiting us, for more such content!

Adil Ansari

Md.Adil is a Senior Salesforce developer, a Computer Science graduate working on the Salesforce platform and providing customer solutions using force.com as a Salesforce consultant/developer. He is the founder of SalesforceBitsandBytes blogging site. He shares unique real time posts on different Salesforce implementations, the source code available on this SalesforceBitsandBytes blog is fully tested in the development environment.

Leave a Reply

Your email address will not be published. Required fields are marked *