Giter VIP home page Giter VIP logo

Comments (5)

douglascayers avatar douglascayers commented on June 11, 2024

To make sure I understand the ask, are you wanting a button on a list view of the records you want to process?

For example, a button on a contacts list view that when clicked it kicked off one of the Mass Action configurations?

The app already comes with an invocable apex class to kick off configurations from flow and process builder via an “apex action”. If you created a list view button that pointed to a flow then your flow could run the Mass Action apex action without you writing any code.

However, the list view selected in the mass action configuration would be what is used, not necessarily the list view the user is looking at when they clicked this custom button.

from sfdx-mass-action-scheduler.

douglascayers avatar douglascayers commented on June 11, 2024

Hi @streetyouth,

Thanks for using Mass Action Scheduler. I haven't heard back from you in a while, I'm going to close this issue. If you're still interested in discussing this issue please reply and I'll re-open.

Thanks,

Doug

from sfdx-mass-action-scheduler.

bruceleestewart avatar bruceleestewart commented on June 11, 2024

Doug - I think above answers my question - wanting to "invoke" or [Run] a Mass action in another flow. But what specifically is the invocable apex in your package called?

from sfdx-mass-action-scheduler.

streetyouth avatar streetyouth commented on June 11, 2024

from sfdx-mass-action-scheduler.

douglascayers avatar douglascayers commented on June 11, 2024

@bruceleestewart The apex class name is MA_RunConfigInvocable

@streetyouth Thanks for the follow up, I've re-opened this feature request. Sounds like you want a way for users to click a button and that would manually trigger one of your Mass Action Configurations.

In the meantime, a way to make this work in Lightning Experience would be to add a Flow component to either a record page or Utility Bar and your Flow have a screen for the user to signal they want to run a configuration. In your Flow, you would use an apex action to run MA_RunConfigInvocable labeled MAS: Run Mass Action. Your Flow could either hard code the Mass Action Configuration record's ID, or the Flow could use a dynamic choice to give the user an option of which they wanted to run.

Here's example from the wiki: https://github.com/DouglasCAyers/sfdx-mass-action-scheduler/wiki/Example:-Schedule-Mass-Actions-with-Process-Builder,-Flow,-or-Apex

from sfdx-mass-action-scheduler.

Related Issues (20)

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.