Comments (17)
Ah, I figured the hangup. I enter full_refresh_token, realized I needed to omit the first underscore. I was able to successfully authenticate and all is well in the world.
from sfdx-mass-action-scheduler.
Glad you got it working @mbhfromla! I wish the setup process for Connected App, Auth. Provider, and Named Credential were a bit more streamlined and less complex. At least only have to do it once!
from sfdx-mass-action-scheduler.
Totally agree, Per Org. I've been testing it in a few sandboxes and dev-orgs.
from sfdx-mass-action-scheduler.
I'll set up the Named Credential again from scratch, see if that resolves my issues. I was good with the process and apex requirements. Thx!
from sfdx-mass-action-scheduler.
Hi @douglascayers,
We also experienced this issue in our Production environment, while the same setup worked fine in our Sandbox. The difference for us was our System Administrator Profile in Production had Session Security Level set to High Assurance and only our corporate Single Sign-On or Two-Factor Authentication were considered High Assurance sessions. The issue was resolved by changing our Named Credentials settings to using a Profile that did not require High Assurance sessions.
from sfdx-mass-action-scheduler.
I also had the same issue and resolved by updating Named Credential record URL domain to match the Callback URL domain.
I had:
Named Credential URL - https://.lightning.force.com
Connected App URL - https://.my.salesforce.com
As soon as I updated the Named Credential URL to https://.my.salesforce.com I was able to see the list of process builders/flows.
from sfdx-mass-action-scheduler.
Hello,
Thanks for trying out the app!
Does the org have processes that start “when invoked by another process”? Processes that start when record is created or edited aren’t available.
For Apex action type, does the org have classes with @InvocableMethod annotation?
If yes to both then is the Named Credential authenticated with an admin user to rule out a permissions issue?
Thanks,
Doug
from sfdx-mass-action-scheduler.
Great comment as I've encounted this issue as well. What about Email Alerts, I am unable to select an object for my email alert?
from sfdx-mass-action-scheduler.
Please double check that the pre-requisites outlined here have been created correctly: https://github.com/DouglasCAyers/sfdx-mass-action-scheduler/wiki/Pre-Requisites-Instructions
Importantly, that My Domain has been deployed to your org. After registering the domain name it may take a few minutes before you get email that My Domain is ready and then in the setup menu for My Domain you’ll click a button to “log in” to the domain the see a button to “deploy to users”.
Another thing to consider is if your Named Credential has been created correctly using correct My Domain URL.
The app comes packaged with a test Named Credential that won’t actually work, it’s just for unit tests to pass. I will filter it out in a future release. Make sure to create your own Connected App, Auth. Provider, and Named Credential.
Thanks
from sfdx-mass-action-scheduler.
Thanks for the QA ;)
from sfdx-mass-action-scheduler.
Hi Douglas,
I double checked all the pre-requisites.
Checked:
- My Domain
- Lightning
- Named credential using right my domain
- Active process builders with invoked by another process.
But still, I cannot get the action list to populate. Can you please help.
Thanks!
from sfdx-mass-action-scheduler.
The only thing I can think of that would prevent actions from appearing are:
- something wrong with the auth. provider or named credential
- no auto-launchable flows or invocable processes
Because the authentication setup is the most complex, it's usually where the problem is.
I recommend going back through the instructions and re-creating the Connected App, Named Credential, and Auth. Provider. It's possible a tiny detail or step was missed.
Please share what your auth. provider callback url is and your named credential url is.
Thanks
from sfdx-mass-action-scheduler.
Good to know, thanks @Clint-Majors!
from sfdx-mass-action-scheduler.
Thanks @jessos
from sfdx-mass-action-scheduler.
Hi Doug I have gone through all pre-req steps with a fine-toothed comb because I had such a hard time getting the app configured in the first place and now I am having this same issue where I cannot select an action. I have confirmed that:
- Lightning is enabled
- MyDomain is activated
- Connected app has been created (though I am no longer able to view details about contact email, OAuth settings, or URLs...)
- Auth provider was created with key from connected app (you and i had a back and forth about the callback URL, but I know they were matching because I was finally able to complete the named credential)
- I have created an invocable, active process
I'm really stuck here...any other ideas for things that could go wrong/stop me when I am so close to finished?
from sfdx-mass-action-scheduler.
Hi @ashlynnrs, sorry to hear about the issues :(
I am wrapping up the next release of the app which will provide automatic configuration of the Connected App, Auth. Provider, and Named Credential. I'm hoping that will resolve your issue. Please follow #26 so you'll be notified when that closes that the next version of the app will be available.
from sfdx-mass-action-scheduler.
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.