Show user when a wokflow backend is over


When the user clicks on Run flow, it triggers a workflow on the backend that can take up to 30 s to run. (Schedule API Workflow)

I would like to indicate to my user when the workflow is done running and display the button “Download CSV” only when the workflow is over.

How can I do it?


Create a temporary table in database and add a last step in backend workflow to add a value in that table.
On your page, apply the event (after every 1 sec) if data exist show button and then delete the data from database so that you can use the same reference in future.


Thanks it works !

This topic was automatically closed after 70 days. New replies are no longer allowed.