Skip to main content

Has anyone experienced this and do you know a fix? 

 

The situation is I made an autolaunched flow that copies Products from an Opportunity and populates them on a new Opportunity that is activated by a button.   This saves the Account Executives (AE's) clicks and keystrokes, reduces errors, increases speed, etc.  Made the redirect URL back to the Opportunity.  Works fine in regular Sales App.  When an AE is in the Sales Console (where they can have multiple tabs open), are in the Opportunity home page, click the button, it opens the Opportunity Products page which then shows an empty screen (meaning the flow finished), they are redirected back to the home page, BUT the flow repeated itself, so now Products are doubled.   

At first I had the redirect as just retUrl={!

Opportunity.Id

}, then explicitly wrote out retUrl for lightning Opportunity view.  Still didn't work.  Which leads me to think this is something with the Sales Console behavior because you can have multiple tabs open.  Any suggestions? 

 

And please, don't say create a custom page, component, etc.  Already have my hands full with an implementation and talking with Accounting & other departments on what information needs to be displayed on Accounts and Opportunities to be more useful.  Let me know if you experience this before. 

3 Antworten
  1. 22. Feb. 2025, 23:57

    Ok, I asked Salesforce Support and the solution was going to Setup>Process Automation Settings and check "Enable Lightning runtime for flows", which was not checked.  After checking the checkbox, Sales Console worked with flows, no repeating flows.  Problem solved.  Thanks, Salesforce Support! 

     

    Some background on this, is a few years ago, the company hired consultants to do an upgrade to the Salesforce org and (among other things) transition to Lightning.  I assumed that the checkbox would be checked because...isn't that something you do when you transition to Lightning?   Maybe?  Makes me think I need to go back and review more of the general settings in Setup.  Anyway, thanks to everyone that helped.

0/9000