Junior Lima
← All posts

Salesforce Screen Flow – Trigger the next screen/action automatically

This is a simple flow component that allows setting a countdown on screens flows and trigger the next screen/action automatically, this component is invisible, and...

This is a simple flow component that allows setting a countdown on screens flows and trigger the next screen/action automatically, this component is invisible, and it is visually better if combined with a loading GIF or text message, so the user can notice that it has to wait.

Firstly, set a loop in your flow defined in seconds, so the user does not have to click on any refresh button, to get out of the loop a decision criteria may be used as validation.

Problem Salesforce Flows do not allow a callback function, therefore actions like external HTTP request or any other invocable function via Flow can’t return a value to make a flow decision.

Solution Using this aura component makes possible to validate changes made by in vocable functions in a periodicity of seconds, the amount of seconds is configurable.

Install Screen Flow Next Action

Githhub Link:https://github.com/limazeit/ScreenFlowNextAction