WindmillWWindmill
Powered by
amararamaA
Windmill•2y ago•
3 replies
amararama

Use a table action to trigger a long running flow

Hi all,

Just wondering if there is a recommended way to use table actions to trigger a flow that I dont need to see a response from during the lifetime of the session.

I have a table with various params, that when triggered will upload some folder to S3.

Now, the flow triggers in the background as an independent run, but the table still seems to wait for a response before its state is updated.

I'm wondering if theres a way to have the flow trigger and return something along the lines of a 200: OK, and let the flow continue, in the event of an error I can build my own error handling into the flow, but I dont want it to choke up the table if the user wants to run multiples of this process from the table.

I assume the way to do this would potentially be to call the flow from the hook as opposed to directly from the button?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Using perpetual script to trigger flow
TwoToTooTTwoToToo / help
5mo ago
Which rest api to use for re-running a failed flow-run
ym1198Yym1198 / help
3y ago
Long Running Scripts
Bagas WastuBBagas Wastu / help
3y ago
Running a job from inside a flow
robottohfRrobottohf / help
2y ago