Once you are done, with Flow or Process development, the next step is to deploy it. There are many ways, through which, you can deploy or distribute, Flow(s) or Process(s), from one org to another:
This blog is a sequel to my previous blog – Distribute Process(es) using Force.com IDE. In the previous blog, I discussed how to deploy Flow(s), or Process(es), using the Force.com IDE.
Today, I am going to discuss how to deploy a Process(s) or Flow(s) using the MavensMate. MavensMate is a collection of open source projects. Its aim is to enable developers, who prefer to build applications using their local machine in text editors like Sublime Text, Atom, and Visual Studio Code –, to build Salesforce applications.
MavensMate also allows developers to deploy the metadata components like Flows and Processes in different environments – such as, Developer Edition org and Production Org. Let’s start with a business use case.
Business Use Case
Pamela Kline is working as System administrator at Universal Containers. She has developed a Process (Getting Started with Process Builder – Part 67 (How to fix MALFORMED_ID error) in UAT Sandbox and is done with testing. Now, she wants to deploy the process to her production org.
Solution for the above business requirement
There are few possible solutions for the above business scenario. But, today we will use MavensMate to deploy the process from Sandbox to Production org.
Before proceeding, install MavensMate. Let us start with setting up MavensMate and Sublime Text a sophisticated cross-platform text editor to write code.
For our current business scenario, we do not need to install Sublime Text. But, if you want to develop, or modify Apex code, then, you will need to install and configure, Sublime Text Editor.
Setup Sublime Text 3 and MavensMate
1. The very first step is to download and install Sublime Text 3. It is available for Windows, MacOSX (10.7 or later), and Linux. Sublime Text may be downloaded and evaluated for free; however, a license must be purchased for continued use. There is currently no enforced time limit for the evaluation period.
Now navigate to Sublime Text 3 download page and install it on your workstation.
2. The next step is to Install Package Control. Package Control is the Sublime Text package manager, and it is one of the simplest methods of package management. Follow the instructions to run package control code on Sublime Text 3.