Code Monkey home page Code Monkey logo

flow-activator-js's Introduction

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-js's People

Contributors

anushpoudel avatar

Stargazers

 avatar Sanju avatar Zac Ong avatar  avatar

Watchers

 avatar

flow-activator-js's Issues

Feature: roll-back flow to the previous version

  • Ability to roll-back flow to the previous version of the flow
  • If the latest version of the flow causes issues in orgs, it gives the ability to quickly roll back to the last stable version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.