• ashwini bhatt
  • NEWBIE
  • -1 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
Hi all,

I have the following Auth Provider:

Auth Provider
I have successfully authenticated with the provider using a named credential:

Named Credential
When I use this named credential in Apex callouts, I worked fine until the access token expires.  At this point, I get 401s repeatedly until I edit and save the named credential again (I have "Start Authentication Flow on Save" ticked).

This is a dealbreaker for the feature I am developing in terms of production use.  Please can anyone advise what I can do?

Many thanks,

Miles
How to write in trigger when the Opportunity is Closed Won the related Child Record’s Amount field will be equal to Opportunity’s Amount field.