Giter VIP home page Giter VIP logo

Comments (17)

mbhfromla-zz avatar mbhfromla-zz commented on June 11, 2024 1

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.

douglascayers avatar douglascayers commented on June 11, 2024 1

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.

mbhfromla-zz avatar mbhfromla-zz commented on June 11, 2024 1

Totally agree, Per Org. I've been testing it in a few sandboxes and dev-orgs.

from sfdx-mass-action-scheduler.

ivanoharris avatar ivanoharris commented on June 11, 2024 1

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.

Clint-Majors avatar Clint-Majors commented on June 11, 2024 1

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.

JesseWindebank avatar JesseWindebank commented on June 11, 2024 1

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.

douglascayers avatar douglascayers commented on June 11, 2024

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.

mbhfromla-zz avatar mbhfromla-zz commented on June 11, 2024

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?

screen shot 2018-01-02 at 2 36 49 pm

from sfdx-mass-action-scheduler.

douglascayers avatar douglascayers commented on June 11, 2024

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.

douglascayers avatar douglascayers commented on June 11, 2024

Thanks for the QA ;)

from sfdx-mass-action-scheduler.

Moby9599 avatar Moby9599 commented on June 11, 2024

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.

image

Thanks!

from sfdx-mass-action-scheduler.

douglascayers avatar douglascayers commented on June 11, 2024

@Moby9599,

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.

douglascayers avatar douglascayers commented on June 11, 2024

Good to know, thanks @Clint-Majors!

from sfdx-mass-action-scheduler.

douglascayers avatar douglascayers commented on June 11, 2024

Thanks @jessos

from sfdx-mass-action-scheduler.

ashlynnrs avatar ashlynnrs commented on June 11, 2024

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:

  1. Lightning is enabled
  2. MyDomain is activated
  3. Connected app has been created (though I am no longer able to view details about contact email, OAuth settings, or URLs...)
  4. 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)
  5. 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.

douglascayers avatar douglascayers commented on June 11, 2024

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.

ashlynnrs avatar ashlynnrs commented on June 11, 2024

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.