How can I have logic run asynchronously upon multiple file uploads?
I have a Flow that allows a user to upload a file. Upon uploading the file and clicking the “Import Groups File” button, I want some logic to run in the background on the uploaded file while giving the user the ability to upload more files if desired. There will only be one file upload at a time. Is there a way to accomplish this?
Comments
-
Hi there,
We can accomplish this by including another button within your Form and utilizing a Subflow with “Run Flow Async and Wait’ enabled.
By adding a ‘Done’ button, we can confirm when the end user is finished uploading documents.
If the user clicks the 'Import Groups File’ button, the Flow can continue to an asynchronous Subflow which will run logic in the background while looping back to the Upload File Form allowing the user to upload more documents if desired.
It is important that the ‘Run Flow Async and Wait’ checkbox is enabled on the Subflow Step. This allows the logic to run in the background without pausing the upload process for the user.
Hope this helps!
Howdy, Stranger!
Categories
- 2.1K All Categories
- 17 General
- 154 Installation / Setup
- 980 Flows
- 86 Rules
- 198 Administration
- 203 Portal
- 426 General Q & A
- 592 Forms
- 280 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 137 Pages
- 1 Process Mining
- New Features
- 144 Datastructures
- 49 Repository
- 163 Integrations
- 25 Multi-Tenant
- 21 SDK
- 39 Modules
- 36 Settings
- 18 Active Directory
- 12 Version 7
- 34 Version 8