Salesforce Screen Flow - Wait/Sleep Lightning Component
Flow Element: Pause for a Screen Flow We cannot use the Pause element in a Screen Flow , and there are use cases where we might need the user to wait some seconds before he/she can continue working with the Flow. Even if you can use a Pause element (for instance, calling an auto-launched sub-flow that Pauses the execution), once the Pause element is executed, the main Screen Flow receives a message like " The flow interview is now waiting. It will resume in the background later ", and later means in the next 10-15 minutes. In other words, the user may have to wait 10-15 minutes to continue working with our Screen Flow! Not a nice user experience, don't you agree? Let's say we have a situation where we need to execute a background process (like an Apex batch job or a call to an external application that should do something a return) and in the next step, we need the output of the background process. The problem here is that it should be a smooth, only screens user exp...