flow-activator v1.0.9
Flow Activator
Flow Activator is a command-line tool that allows users to activate the latest version of specified flows in connected Salesforce orgs. This script supports multi-select functionality for choosing the orgs where the flows should be activated.
Prerequisites
Before running the script, ensure you have the following installed:
- Node.js: Ensure you have Node.js installed. You can download it from nodejs.org.
- Salesforce CLI (SF CLI): Salesforce CLI, which you can download from Salesforce Developer.
Installation
To install the Flow Activator script globally, run the following command:
npm install -g flow-activator
Usage
Run the script:
flow-activator
Development
Clone the repository:
git clone https://github.com/anushpoudel/flow-activator-js.git cd flow-activator-js
Install the required Node.js packages:
npm install
Start the script:
npm start
Configuration
Ensure that you are authenticated to your Salesforce orgs using the SF CLI.
Troubleshooting
Ensure SF CLI is installed and authenticated: Ensure that you have authenticated to all the orgs you intend to use with the script. Use the
sf org list
orsfdx force:org:list
command to list all authenticated orgs.Node.js Environment Issues: If you encounter issues with Node.js dependencies, ensure that you have installed all necessary packages by running
npm install
.
License
This project is licensed under the MIT License.