Skip to main content
Group

Mass Action Scheduler

This group has been created to support discussion around this tool. This is a community powered tool so questions may not get answered immediately. http://bit.ly/MassActionScheduler

When scheduling a job with Mass Action scheduler i am getting an error as  

 

First error: You don't have permission to view this data. Ask your administrator to set up authentication for the external data source.

2 answers
  1. Aug 31, 7:28 AM

    Hi Srikanth, 

    This is usually because the Mass Action Scheduler is accessing an external data source but the credentials for this access have not been set. 

     

    I would recommend you do the following: 

     

    Verify the External Data Source used by the Mass Action Scheduler. 

    Check whether the credential for this access is properly defined. 

    Verify if the user scheduled for this process can access this credential. 

    Re-authorize the external data source in case the credentials are expired. 

    Finally verify the External Data Source → Authentication Settings to see if the proper permission has been granted. 

     

    Once the credentials have been updated, please schedule the Mass Action. 

     

    Hope this will help.

0/9000

I recently installed Mass Action Scheduler in a sandbox. I went to the Authentication Setup Wizard (Mass Action Auth. Setup tab) and the Automated Setup button no longer works because it tries to create a Connected App, which Salesforce no longer allows. So, I followed the manual instructions in GitHub and created all specified metadata: Auth Provider, Named Credential, and swapped out an External Client App for the Connected App steps. However, when I go to create a new Mass Action Configuration, I get an error saying that it can't find the Named Credential (API name of my credential is Mass_Action). I am a System Admin and I have the Mass Action Admin permission set assigned. What am I missing?

3 answers
  1. Jun 6, 6:09 PM

    @Steve Pysnik

     

    The issue is almost certainly that you swapped a Connected App for an External Client App, and that's where the chain breaks. External Client Apps and Connected Apps are different metadata types with different OAuth handshakes, and the Mass Action Scheduler package (last updated April 2022 and now archived) was built around the classic Connected App and Salesforce Auth Provider flow. When you authenticate the Named Credential against an External Client App, the OAuth callback can complete and the credential record gets created, but the package's Apex looks up the credential in a way that doesn't resolve it the same way, which surfaces as the "can't find the Named Credential" error even though the record exists in Setup. The package wiki's manual instructions explicitly walk through creating a classic Connected App, a Salesforce-type Auth Provider, and then the Named Credential authenticated against that provider, with no External Client App path anywhere in the flow. 

     

    A couple of things worth checking and trying. First, Connected Apps are not actually fully blocked. What changed is that as of Winter '25 Salesforce restricts creating new Connected Apps by default, but admins can re-enable creation under Setup, then Connected Apps OAuth Usage, or via the "Allow creation of Connected Apps" permission. If you can turn that back on temporarily, the original Automated Setup wizard or the manual Connected App path will work exactly as the wiki documents, and that's still the most reliable route for this particular package. Second, if you do stay on the External Client App route, confirm your Named Credential URL is correct for a sandbox, since the wiki notes that for sandboxes the URL must point to the My Domain on .my.salesforce.com rather than .lightning.force.com

    , and the legacy guidance even included the instance segment. A malformed URL or a credential whose Named Principal authentication silently failed will also throw a lookup-style error at config time. 

     

    If neither lands it, given the package is archived and no longer maintained, the realistic long-term path is to confirm whether your org can re-enable Connected App creation (most can), use that, and treat the External Client App swap as unsupported for this tool. Worth flagging in the Mass Action Scheduler group that the Automated Setup button is now broken by the Connected App restriction, since that's a fix the maintainer or community would need to address, and you likely won't be the last to hit it. 

    - SP

0/9000
9 answers
  1. May 1, 2024, 2:40 PM

    A big reason a lot of people used this product was because you could not schedule Process Builders.  Now that you can schedule Flows, I'd encourage you to just use Flows.

0/9000

We have a Mass action that is being run in staging to test some changes but I am getting flow error messages from Production. We have rolled our sandbox so the recordIds and input Id all match, and it seems like it is somehow trying to run in the wrong org? Has anyone else run into this? What can we do to stop it?

3 answers
  1. Oct 6, 2025, 1:30 PM

    Issue found! The named credential in staging was still pointing to Production. I switched the actions to run as user in staging and it seems to be working. Looking now to see if I can change the credential but might need to set up a new one since it's trying to use the production User.

0/9000

I am needing to mass delete roughly 2.5 million Mass Action Log History records and I keep running into an error that I suspect is due to the trigger on the Mass Action Log History object. Any ideas on any workarounds? I was thinking next steps would be to disable the trigger but I am not able to do that since it is a part of a managed package. 

2 answers
  1. Sep 18, 2025, 9:17 PM

    @Christine (Chrissy) Priester Since you can’t disable the trigger as it’s part of a managed package, the next steps really depend on the exact error you’re running into. Often the issue comes from record relationships, so you’ll need to clear those first — usually by deleting child records before parent records. After that, run the deletions in manageable batches to avoid limits and trigger errors.

0/9000

One of the Mass Action Scheduler jobs is failing due to the Too Many Call Outs 101 error. How can we fix this issue.

4 answers
0/9000

I usually use this package for some Mass action scheduled in not business hours but, Yesterday, august 7, all stop working?

2 answers
  1. Aug 11, 2025, 4:35 PM

    Hi, @Yadira Avila Espinosa Maybe the package is expired. You can check the status "Expired" or "Active" in "Installed packages" [Setup-> Search "Installed packages" in "Quick Find"]. Or, maybe somebody has removed a permission set that is part of the package from the affected users.

0/9000

Hi All, 

I have opportunites that have member start/end dates fields. The opportunity status needs to be expired after the end date on the opportunity. I recently created a flow that will expire the opportunity after it's saved if the criteria was met. However, I'd like it to expire automatically without the record needing to be saved. How can I do this in flow successfully?I started an autolanuched flow but I'm not sure it'sthe right direction. Any help would be great! Pics below:  

How do I get a flow to automatically expire opportunities after a certain date?

 

 

Screenshot 2025-08-04 at 11.08.46 AM.png

 

 

Screenshot 2025-08-04 at 11.08.59 AM.png

 

 

5 answers
0/9000

Someone long ago installed this package in my salesforce org.  It has two process builders in it that are active.  Since the package is managed I have no way of seeing what these 2 process builders even do.  And since this appears to be an some guy somewhere just put out into the world and not a real company, I cannot log a real support ticket. 

 

Does anyone have any idea if it would be safe for me to turn off the 2 active process builders I see that appear to be part of this app, wiithout breaking anything?  I think just looking at them they simply send some kind of email alert on some sort of failure(s) but I really have no way of knowing.  The process builders are called: 

 

MAS: Batch Apex Error Event 

MAS: Mass Action Configuration 

 

Thanks guys

1 answer
0/9000

Does anyone receive email notifications reporting the error with the managed flows from the FlowApplication lately? 

 

They are related to the two Processes MAS: Mass Action Configuration and MAS: Batch Apex Error Event, in Process Builder. We started receiving the error yesterday. It throws the error message every time the scheduled flows in the MAS run. Since they are managed processes in the package, we can't directly migrate them to the flow or deactivate them to stop the email notification, as now it's unlikely to reactivate the managed process in Process Builder after deactivation. Especially, keeping the MAS: Batch Apex Error Event flow active is compulsory to create the Mass Action Log. 

 

Does anyone know whether the issue could be related to the latest SF Summer '25 release? I wonder whether the processes are using the legacy REST API version that has been retired.  

https://help.salesforce.com/s/articleView?id=release-notes.rn_api_retirement_delay_256rn.htm&release=256&type=5

 

It would be very much appreciated if someone already had a solution to migrate or rebuild these two processes that can be shared in the community.   

An error occurred with your

 

 

An-error-occurred-with-your-MAS-Mass-Action-Configuration-flow-06-19-2025_02_43_PM.png

 

 

0/9000