Windmill

W

Windmill

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

Join

help

general

changelog

In a flow, is it possible to invoke for-loop parallelism on a single worker, to save on cost

Hey! So I have a flow which uses an SDK which is not very optimized and does a slow API call. This ends up racking up a lot of worker execution seconds, and Windmill cloud bill along with it. I don't want to ditch the usage of the SDK. One solution would be to re-factor the slow to try to do all the necessary slow calls in a single step, i.e. I would handle the for-loop in the .js level, not the flow level....

Web editor stops working when adding a Flow as an event handler

I have a flow. When I add a button in an App and select the flow as the event handler, the web editor stops working. The flow is a simple one (1 to 2 branches, and one script per branch) and the app has only a button. It doesn't freeze or hangs (when I hover the buttons, they are still highlighted). It just stops working (pressing buttons does nothing). Also, if I reload the page, it takes longer to reload. Because of that I can't use flows in apps. I can use scrips though....

A token with write access is not affiliated with a user.

I would like to use wmill sync push in our pipeline with a token that isn't tied to a specific user. How can I do that? I can't find a proper guide.

Git sync doesn't work

Hi, I've configured the git sync, and it doesn't commit back to the repository. I don't even see any tries. How can I contact with windmill support? Our company is using the cloud solution.

How does windmill handle multiple people editing the same flow and drafts?

Essentially, if multiple users are editing a flow and both save drafts, it appears they overwrite eachother on refresh?

Cannot run any script Python / TS

I've just installed a fresh Windmill with coolify on my instance. I cannot run any script in any lang. Every 5 sec I see something like this: INFO request: windmill-api/src/tracing_init.rs:32: response latency=0 status=200 method=GET uri=/api/w/stid/jobs_u/getupdate/019290a9-d2d9-0f6a-dcf2-72fe624f86de?running=false&log_offset=0 trace_id="9f8692a3-3894-4199-8dd8-0d37ff46e1d1" ...

PowerShell in Windmill: Data Passing Through For Loops

Looking for guidance on using PowerShell scripts in Windmill flows, particularly when passing data between scripts separated by for loops. Could anyone please share examples of how to effectively structure this flow and manage data transfer between the PowerShell scripts?| I am returning data as JSON or objects from scripts, but I can't figure out how to use it in the subsequent steps....

Creating flow input schema from nested JSON

When creating a flow's inputs from JSON, is there any way for windmill to capture properties of an object in array when its not at the first level? For example (which probably makes more sense): ``` { "testarr": [ {...
No description

Workflows just randomly stopped working

Hey I was wondering if anyone could help me debug this error message? ``` error: Requires import access to "localhost:40605", run again with the --allow-import flag at file:///tmp/windmill/wk-default-d4bkn-Tq3vy/01927455-1194-2bc3-eb72-649e30346225/main.ts:3:42...

Will DynSelect be supported within flows?

Hi, Currently, DynSelect functions well within the script GUI, but its behavior differs within flows. In my case, I need to allow users to select an option from a dynamic list when they use script component ( with DynSelect) during the flow design. This list of options can be retrieved from a store, a variable, or other sources. So is DynSelect be supported within flows ? if no is there another way to respond to the mentioned case ?...

GitHub OAuth

Hi everyone! 👋 Trying to setup github oauth with a self-hosted instance per https://www.windmill.dev/docs/misc/setup_oauth#github-1 It correctly redirects (302) based on my homepage url but raises a redirect_uri error...
No description

Mysql script : issue with IN(...) syntax

Hi ! I have an issue with a MySql script. My request uses a " IN(:id1,id2,...)", and Windmill seems to use only the first parameter (in this case, id1). The parameter is a simple string with commas inside "id1,id2,id3". I ckecked if I could choose another type of parameter (array of strings perhaps ?) but I didn't find it.

Windmill CLI - Bad Request: script with same parent_hash has been found error

I am receiving a bad request error when trying to deploy updated scripts throught Windmill CLI with the wmill sync push command. The error seems to target random scripts. Even if I leave one out of the push, it errors on another script. Here is a list of things we have tried so far. If you need any additional information, just let me know. Thanks! -- "Archive" an individual script when it gives this error. It then gets locked in a state where it still produces this error upon deployment, and also I then cannot un-archive the script because that action then also produces this error -- Deleting the folder that we're trying to push to. Deleting the folder appears like it might actually be archiving. In the UI it appears to delete all scripts, flows, variables, and resources associated with the folder. But then a subsequent push appears to un-archive it or something, because not only does the deployment fail with the same error but all scripts, flows, vars, etc. re-appear as they were before the folder deletion...
No description

VSCode Extension not able to access environment hosted within a VPN

Hey Team, I setup VS Code local dev environment, and it's not working with any of my self-hosted windmill instances (All of them are behind the organisation VPN, and not publically accessible), however when I follow the same process with a test instance on windmill cloud version - it works. Does the extension try to access the windmill instance configured via windmill cloud somehow? (Rather than directly from locally within the laptop). Laptop is connected to the VPN - so it should work if it was connecting directly. If the above is the case, could you share windmill cloud IP addresses we can whitelist in our VPN so the instance becomes accessible? ...

Cloud logging

Hey Team, I have a self-hosted windmill setup on Kubernetes on Google Cloud. I have workers running - and google logs explorer setup to capture the STDOUT of the worker. In the google cloud platform logs explorer I currently get the following logs of the worker 1. Ping check every 5 seconds with memory usage 2. Audit logs 3. Jobs execution stats (Running status, job ID, completed / failed etc) ...
No description

Latency on waiting, What's the recommended setup for workers for concurrent webhook calls?

What's the recommended setup for workers for concurrent webhook calls? I'm seeing a lot of latency, quite sparadict, I have some hot and cold workers. But it looks like the other cold workers don't awake even though we are experiencing latency on these flows
No description

golang execution error

hello, i'm facing an issue with my go scripts : ``` ExecutionErr: ExitCode: 1, last log lines: job=01924748-4775-bf69-3de6-06745b428802 tag=go worker=wk-default-bb6d6afc357b-HSLDe hostname=bb6d6afc357b...

Stepper Component Event Handlers

in the documentation for the Stepper component, it mentions event handlers onNext and onPrevious but I am not seeing this in the component settings in the app builder. I just see "Stepper has no configuration" at the bottom of the component settings for the Stepper. Is the documentation outdated or perhaps are those features new and I am just not on the latest version? I am on EE v1.334.0 Or maybe I'm just missing something. Let me know, thanks!...
Next