Windmill

W

Windmill

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

Join

help

general

changelog

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

2 Questions about self-host

1 . I am going to set up a self-hosted windmill by using Docker Compose from Windmill Labs. I need to set up a volume to point to my share drive so a script created on Windmill could read the data source from the share drive.. I added a volume under the windmill_worker, and I tested it; it works well. I checked the guidance from https://www.windmill.dev/docs/advanced/self_host to learn the difference between the server mode and worker mode, so I think setting up the volume under worker mode is correct rather than setting it up under the server mode. I am not sure if it is correct. May I have any suggestions here? 2. All the workflows or scripts created on Windmill, may I know where they are saved? I would like to move all workflows and scripts on my testing environment (I set up the testing environment by using self-host as well) to a server, so I don't need to rewrite them again...

Github sync in one repo and two workspaces

Hi, Is there any documentation, I want to do a github sync for two workspaces under same repo but separte directories. I have tried doing it, one workspace works but sync for second workspace does not happen, would appreciate any help!!....

Push log to Elasticsearch with a filebeat sidecar

I want to push the logs that exist in the folder /tmp/windmill/logs of my workers to Elasticsearch by using a Filebeat sidecar to watch this folder and push those logs to Elastic. The problem that I noticed is that I'm able to push only the logs that are too long to be displayed in the UI, while the short ones are not saved in this folder. Is there a way to push all the logs that the workers produce? Thanks

No variable permissions on scheduled runs only

We are running a couple of scheduled jobs in windmill what make use of variables as input parameters. Basically we have flows with one step in them which is one python script that has variables configured for their input. When triggering them manually by user 4's account they work fine. But if we configure a schedule it fails on every scheduled run due to a lack of permissions....

Error when running a migration and connecting to external database

I want to connect Windmill to external database (Supabase), and when I run the migrations, I get the error message related to applying the 20241127171723 migration. I was wondering if someone had a similar problem before? This is the error message: Error: Error migrating db: Migrating database: while executing migration 20241127171723: error communicating with database: expected to read 5 bytes, got 0 bytes at EOF...
No description

Can’t Use More Than 9 Positional Parameters in Bash Script Step?

Hi team, I really like your product and we use it very well for our infra automation I'm running into an issue with Bash variable declarations in a script step. When I define variables like this:...
No description

Is it possible to set the value of a component in a specific iteration of a List?

I have a List component with multiple iterations/items, and I would like to call setValue on a specific component within an iteration of the List. For example, is it possible to do something like
setValue('b.2', 'some value')
setValue('b.2', 'some value')
where b is the Select component in the 2nd iteration of my List?...