function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marc D BehrMarc D Behr 

How can I open a console tab from a flow finishLocation rather than a new page

I have a visual workflow that is embedded in a VF page so I can use the finishLocation to redirect the user at the completition of the flow. This works fine as long as I want to open a new page at the completition of the flow, but since the majority of my users are using the Service Console, I would rather have the page open in a new primary tab within the console, but I have not been able to figure out how to do this. I tried creating a JS script to check if the session was in a console and calling that with from finishLocation, but that gives me an error as it appears you can not call JavaScript from finishLocation :-(

Does anybody know how do do this?

I'd love to hear if there was a solution for this, too. Thanks.