Windmill

W

Windmill

Join the community to ask questions about Windmill and get answers from other members.

Join

help

general

changelog

Is it possible to combine light and dark mode under one theme?

I'm creating theme styling for my company in Windmill and was wondering how people have approached light vs dark modes, do you keep them as two separate themes or can you combine them under on? - Is there a ctx or global variable that could represent the color mode to all components? - How could I change between two colors in the component styling using that variable? I.E. (isDarkMode ? 'bg-dark-500' : 'bg-white-400') - What exactly are evals? The documentation is scarce on them and I can't seem to get any complex logic working right in them...

Attempting to set up custom Oauth connection

Hello, my team and I are using the Enterprise Edition of Windmill and have run into a bit of a snag attempting to set up a connection to one of our API endpoints. However, one of the requirements that's been given to us is to set up the connection with OAuth and that they require us to provide a redirect URI in order to do so. I've been reading through this documentation: https://www.windmill.dev/docs/misc/setup_oauth However, I'm not seeing where I would get this for a custom connection, just established ones (Google, Microsoft, Slack, etc.). Could someone help me figure out how I would go about finding this or setting it up ourselves?...

Ignoring .venv during script metadata generation

@rubenf I am using uv for local script development, which creates a .venv directory within the script directory. I noticed that script generate-metadata was taking a long time > 40sec for a single script and was able to determine that the bottleneck is findGlobalDeps iterating over all the files in the .venv directory when trying to find a lockfile candidate. I already have a requirements.txt right next to the script. Is there a way to either: 1. have script generate-metadata ignore the .venv directory OR 2. point script generate-meatdata right at the requirements.txt?...

Setting up a Gcloud Pub/Sub trigger returns a 502

In Windmill cloud, when I attempt to setup a Pub/Sub trigger using a service account that has full access to Pub/Sub, I get a 502 Bad Gateway.
No description

wmill script generate-metadata running into 502 errors

I keep getting this message when i'm trying to generate metadata, even for a single file that has very basic dependencies. this has never happened to me before. ``Generating metadata for f/shared/mod_run_structured_data_extraction.py file:///Users/jiezhoumini/Library/pnpm/global/5/.pnpm/windmill-cli@1.458.4/node_modules/windmill-cli/esm/metadata.js:229 throw new Error(Failed to generate lockfile. Status was: ${rawResponse.statusText}, ${responseText}, ${e}`);...

Multiple resources of the same type

I am trying to get two environments running on a self-hosted instance PROD/DEV. Prod has to have different google oauth credentials than dev, but these are configured at instance level how is it planned to be done within Windmill if those 2 need to connect to different GDrive workspaces ?

List Issue : need individual job ids in list component

I have a list component with a dynamic datasource and inside I am using "Log by Job ID" component. The Log components correctly show the respective Job's logs because I have mapped the Job Id dynamically. But the issue is, I need to show a cancel button with each Log but I am not able to get the respective loading status. It only gives me the status of the last item in the list. Please help. Thanks...

Flow States are shared among for loop iterations running in parallel

Back again(sorry šŸ˜…). Not sure If its the intended operation, but It seems flow states are not unique between for loops running in parallel. The flow state values are shared across multiple iterations. Version: Windmill EE v1.483.2-3-gc4148d775...

Cannot open modal via click in db studio action

Hello, I am preparing an app via the database studio component. I have added an action button that will open a modal upon a click event. Using the On success wizard, It seems I was able to connect my modal(myModal) to my action button in my dbtable component with its id(img2), but upon clicking the button I encounter the following error(img3) I appreciate any assistance on this matter....
No description

Static Resource Select should output the label of selected resource as well

Hi, I am making an app using windmill and have come across a use case where I need to display the item labels which were selected by the user. I am using "Static resource select" under the hood because the user does not need to know what is being used. Now on the second page, i have to show what was selected and I cannot show the result in "$ref" format because it is unknown to the user. Do we have any way to achieve this? If not then I would request to please add this in a future release. ...

JSON[] Postgres type renders as string with extra brackets

Hello, not sure if my title explains the issue well, but I am using the database studio with postgre db. My column types are in JSON[]. The studio renders the following ({"{\"fieldA\":{\"Size\":2.4},\"title\":null,\"width\":48,\"height\":32,\"quantity\":1,\"date\":\"2025-03-29 02:56:02.000000 +00:00\",\"itemNumber\":1,\"itemsTotal\":1,\"item1\":\"1234\"}"}) in the columns with JSON[] type. Parsing this result via JSON.parse() in scripts/flows yields the following error:...

Worker Issue - Deployment Stuck in Progress

We have a script with a dedicated worker assigned to the script in our production workspace. I ran this script in my personal dev workspace, and all the jobs timed out because they were waiting on this worker which they would never get. On my personal workspace, I updated the script settings to not require a specific worker, and went to deploy the script changes, but the script has now been deploying for over 10 minutes now.
No description

Access Resources and Variables in Windmill Rust Script

Hi, I am wondering is there a client available for Rust like wmill in Typescript or Go to access the resources and variables in Windmill Rust scripts? Or if there is a way to do so programatically in a Windmill Rust script? Thank you....

can't save WSS trigger URL, too long.

1. URI-based authentication works, but URI is too long to save configuration to database When I try to save Static URL with wss://ws.axis.prioris.jp/socket?token=<TOKEN> ``` SqlErr: error returned from database: value too long for type character varying(255) @websocket_triggers.rs:267:5...

Trouble Cancelling Jobs with Filters – Always Says 0 Matched

Hey everyone, I'm trying to cancel a batch of jobs using the "Cancel all jobs matching filters" option, and I’ve set up filters like path, not running, scheduled before now, etc. But every time I try, the confirmation popup says ā€œ0 jobs matched the filters,ā€ even though I see jobs in the list that clearly match. ...

Can test/run but can't deploy (issue with sub-dependencies) [resolved]

I am getting this error:
Error deploying this script This script has not been deployed successfully because of the following errors:
``` job=01964ffd-6b1e-c4d6-8107-a66ecf4f3166 tag=bun worker=wk-default-bb951e044087-Jq0yF hostname=bb951e044087...
No description

Concurrency management for dedicated worker

I have a worker configured as a dedicated worker for one script. The goal is to make sure that this script is never executed in parallel with itself. I need all of its executions to run serially. Here is the concurrency graph for a receent set of runs. I'm a bit confused by the graph - as it looks like jobs are running in parallel. Maybe I also need to configure the script concurrency settings? How can I make sure that executions of this script will always wait on already-running executions to finish before starting? Note - I did check the worker ID of each of the executions in the graph - and they are all on the dedicated worker....
No description

Invalid credentials when signing in

Hi, I’ve just set up a self-hosted instance of Windmill but haven’t logged in yet. When I try to sign in using the default credentials, I receive an ā€œinvalid credentialsā€ error. Is there a way to reset the password?...
No description

Branch to all: skip condition for an entire branch?

Hi, when using Branch to All: is there any way skip an entire branch? Early termination for flow is terminating the entire flow and not the branch.

Collecting results within for-loop steps

I have a flow - screenshot attached. It does multiple things inside a for-loop. I want to collect the results of the steps in the loop and return them as an array of objects from the overall flow. How do I do that? The final "result" step in the flow does not seem to be configurable. Maybe I need to add one additional step - just not sure what kind it should be to collect results.
No description