WindmillWWindmill
Powered by
jmrJ
Windmill•2y ago
jmr

Updating the app UI from within a running script

Is there a way to broadcast information from within a running script that I could propagate to the UI?

I have a single script that triggers another system, via subprocesses, and waits for the other system to complete. That system on startup prints a link for the status page of that system to stdout. I'd like to propagate that link to the UI, before the subprocess is finished and the script is done.

I can currently see it in the logs element of the app, but it would be nice if I could extract that out separately so users don't have to search around for it in the logs.
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

find the current App user from a script/flow
SindreSSindre / help
3y ago
Triggering a script using a synchronous webhook from another script within a self-hosted Docker
steve 🦉Ssteve 🦉 / help
2y ago
Scheduling a script programmatically from a script
GodswillGGodswill / help
7mo ago
Basic understanding of processing UI to backend scripts (bulk updating a postgres db from a table)
robzie76Rrobzie76 / help
3y ago