To show how the process builder works as opposed to the standard workflows, we will create a notification or “email alert”. However, unlike the standard workflow, you have to create the email alert before you create the process. Before, we could create criteria and then create the email alert message. In the new process builder, it’s much easier to add it in before and simply reference it in the process. There is a button however to make a new alert, it just leaves the process builder which can seem a bit odd and disconnected.
Go to Setup and search for “Email Alerts” (select it). If you have to pass by the splash page of “what is a workflow”, that’s fine, otherwise you’ll see your list of existing alerts. Click the “New Alert” button at the top to get to the creation screen.
Here you’ll provide a description, the object that the alert performs or is triggered by and the email template that is used (you may have to create that one in the template area as well first).
Once created, it will look like this in your list.
From here we’ll now spend time on the process builder and reference this email alert based on the order changing status…
Written by Prabha Krishnamurthy