WindmillWWindmill
Powered by
andnessA
Windmill•3y ago•
11 replies
andness

How can I use a context variable in a branch predicate?

I'm trying to use a context variable in a branch predicate, but I can't figure out the right syntax. The documentation on flow inputs has some examples (see picture), but none of them work.

What I'm trying to achieve is to run one part of the workflow only if an environment variable has a specific value.

Is there some documentation on what expressions are possible in the branch predicates (and flow inputs, I guess they use the same javascript evaluation?)
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

How do I interpret a variable that exists in JSON data?
MigaloMMigalo / help
8mo ago
Is there a way to pass a context variable into database studio?
giyuGgiyu / help
15mo ago
Can I use async main function in python?
Dylan ParkDDylan Park / help
3y ago
How can I delete a row in the AgGrid table?
hvglcsHhvglcs / help
3y ago