Skip to content

anushpoudel/flow-activator-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

activate_flows_demo

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

  1. Run the script:

    flow-activator

Development

  1. Clone the repository:

    git clone https://github.com/anushpoudel/flow-activator-js.git
    cd flow-activator-js
  2. Install the required Node.js packages:

    npm install
  3. 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 or sfdx 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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors