Einstein Next Best Action: Force Browser Refresh - Code for Video

This is the code needed to implement the solution Blu Tiger Academy shares in their Einstein Next Best Action video. The video reviews how to force a browser refresh on a screen flow invoked by an action through Einstein Next Best Action. You learn how to create an aura component that you can add to any screen flow which will force the browser to refresh after the user completes the screen flow.

Component Code:

<aura:component implements="lightning:availableForFlowActions" access="global"></aura:component>

Controller Code:

	  // When a flow executes this component, it calls the invoke method
	  invoke : function(component, event, helper) {

For any questions, comments, concerns – let us know in the comment section below!
We would love to hear from you!

Share This Story, Choose Your Platform!

About the Author

Cheryl Fernandes

Cheryl is a certified Salesforce Application Architect and is the Founder and Lead Salesforce Consultant at Blu Ninjas. She has been working with Salesforce for 12 years and has helped companies in financial services, insurance and beauty industries implement solutions on the platform. Flow is her favorite Salesforce declarative tool, it is a game changer for anyone who does not know how to code.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top