WindmillWWindmill
Powered by
SindreS
Windmill•3y ago•
6 replies
Sindre

Running "side effects" in flow / return early to (windmill) App

I'm having a use case that I think is not normal maybe, but not unheard of at least. But I'm not sure how to model it in windmill.
I have a (windmill) app that runs a flow, the flow inserts into a database, and then it notifies about this a couple of places (slack, email).

What I would like to achieve is to return a result o the user after I have inserted into the database, and then let the flow do slack and email afterwards.
so the user do not need to wait on this result. The only way I see doing this now, would be to call another flow from the HTTP endpoint... but that feels a bit hacky since I now can't see the relation between the flows.

is it a better way of modelling this I do not see?
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

[Windmill Flow] Windmill Flow shared folder not deleted after job done
Naufal AlfaNNaufal Alfa / help
14mo ago
Running windmill instance offline
José PeñaJJosé Peña / help
2y ago
windmill app -> next.js app
alexBroAalexBro / help
2y ago