Comments (5)
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.
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.
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.
from sfdx-mass-action-scheduler.
@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)
- Error getting named credentials LC_API Timeout trying to establish connection to iframe HOT 2
- Timeout Error HOT 1
- Error Occurred During Flow "MAS: Mass Action Configuration": Unsupported action type: CUSTOM_NOTIFICATION_... HOT 1
- Configuration stuck in 'batch job preparing' status HOT 1
- Mass Action Scheduler Error
- Errors on all Configs
- Anonymous Apex Error: compileProblem: Script too large HOT 1
- Mapping Literal Values
- Apex CPU Time Limit Exceeded
- Invalid id: 000000000000000 dca_mass_action
- Send Chatter error message HOT 1
- Run a configuration from Apex HOT 1
- Unable to install in Sandbox HOT 1
- MAS picking up records from List view to process which do not match criteria HOT 1
- OAuth Error when resaving the Named Credential HOT 2
- Problem during Named Credential OAuth on Spring'23 HOT 2
- Apex source causing unhandled exception HOT 1
- 📣 Seeking maintainers for Mass Action Scheduler HOT 2
- Timeout when loading Mass Scheduler Configuration for an job HOT 1
- Invalid Session ID
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfdx-mass-action-scheduler.