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

  • Cody_Decisions
    edited March 20

    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!

Sign In or Register to comment.