Salesforce Screen Flow - Wait/Sleep Lightning Component
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguDiH1c3B2WktnZArGI3mDn--G-UKLtNAQ3NnM7sG0-h59MNvcXWkHfliZXqU5Swzqq0lSc-BLqn7rHZ3bJOYNlZ6ZnwLeW8x7cQ0-zJvkza_jw4YVO0bRDwThvG5JMEtFB8cLdSScsosyUzUYzlFw1M4ZNrD9lje0lJ42uQTeF6qP7nXzFwSiCLiq0A/w614-h167/Picture5.png)
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...