flow-activator

1.0.9 • Public • Published

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.

/flow-activator/

    Package Sidebar

    Install

    npm i flow-activator

    Weekly Downloads

    1

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • anushpoudel