Windmill

W

Windmill

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

Join

help

general

changelog

What is meant by node id in windmill workflow engine and how to get it

I am using Windmill workflow engine to create jobs and run them I am running jobs asynchronously. For that I first create a job and then that returns me a job-id and I use this job-id to get the result....

Proper Powershell.exe in WSL possible?

I have Windmill running on WSL2 Ubuntu via docker-compose. I added another Worker that runs the Windmill binary directly on the WSL2 Ubuntu (as there is no Windows binary yet). I had hoped running the Binary directly on the WSL would let me get access to the Powershell.exe but unfortunately Windmill uses /usr/bin/pwsh by default which is Powershell Core and has a couple of features missing (WSMan mostly) that I need to introduce Windmill at work. A WSL Ubuntu uses the "full" Powershell.exe under "/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe". I tried adding that path as env variable POWERSHELL_PATH, renaming it, aliasing it, linking it... nothing worked. I'm thankful for any tips or recommendations how to get anything but Powershell Core running. I know Windows and Powershell dont have priority for Windmill but is there a Windows Binary planned in the future or any way to use the wsl powershell.exe?...

For loops worker usage

I'm creating a for loop that runs a script with an sleep inside of it. I want to loop forever or until stopped, and after running the script we have a very long wait time (15 minutes) I wonder if this approach is charging me for that wait time...
No description

How to have a single Windmill act as a central space for multiple Windmill instances?

Hi, I currently have 1 self-hosted windmill container each running on 'n' different AWS EC2 instances (1 * n = n Windmill containers). And I am finding this hard to manage since I need to visit each Windmill's URL individually (need to have 'n' different URLs/UIs) to trigger scripts/flows and view their states.
Is there a way (preferentially, out-of-the-box) where I can have 1 Windmill container coordinate with all my other instances. The central windmill container would have access to all my scripts/flows residing in other machines and serve as a single UI to manage everything. To clarify, I still want the scripts and flows to run in their own respective machines and the central Windmill instance would only help for triggering these scripts/flows and showing their states as if I was interacting with the individual instance's UI itself....

Airplane to Windmill migration

What is the process for helping our team migration airplane tasks to windmill scripts?

Auto Generated UI - Input argument label

Is there a way to make the input label in the auto generated UI separate from the variable name in the main function definition? Ex: variable name - policyIdIn but the label be "Policy ID" for the operator using the script

Rich Display - Markdown?

Is there a way to make the result of a script respect markdown syntax? Trying to replicate a similar functionality from airplane (airplane.display.text).

Custom component interface documentation

Hi 👋 Can you please explain this interface and how app/component interact with each other? https://github.com/windmill-labs/windmill-custom-component-template/blob/553d10449adec81086765efc26d362548b45a011/src/global.d.ts After reviewing the code, I understand there's a data exchange mechanism between the app and the component. However, it's unclear how to define component actions for use within the editor. Additionally, guidance on setting up events emitted by the component, which the editor can respond to, would be helpful....

How to use wmill app push?

I'm going crazy trying to push my local app to remote: When i give path to local json file it says:
Given Remote Path looks invalid...
Given Remote Path looks invalid...
When I add another argument for a remote path it says
errro: too many arguments
errro: too many arguments
...

Basic understanding of processing UI to backend scripts (bulk updating a postgres db from a table)

Hi guys, I'm new to windmill, and I've created a simple app that lists data from a postgres table using a script associated with an aggrid. I allow editing, and want to then update the rows that have been modified when a save button is clicked....

Many of my scripts are failing due to API rate limit

I use windmill script to put some shopify data in clickup table, but clickup has an api rate limit i.e 100 request per minutes, due to his many of the webhooks trigger fails to put the data in clickup table. I comes up with some Solution but i need some suggestion, 1. Is there some bot that re-runs the fails script after some times, or some apis for windmill that can get all the fail scripts and then triger them througs apis....

Gsheets token not refreshed when used by other users

I've created a flow that uses gsheets integration, however when the flow is run by another user this error is thrown: ``` AxiosError: Google API error - [401] Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. Error: ...

Adding warnings for PoolLimit reached

I recently made the mistake to spawn to many workers ( ~20 native ), and after that I notices that trying to execute scripts was taking longer then usual. After debugging, I found out that the workers were having issues connecting the database. For the future, is there any place where I can find if 1 ( or more ) workers are having some recurring error from within Windmill? ...

Getting Error in Windmill

BAD gateway error get many times.
No description

Sharing quota between workspaces

Hey! I'm currently migrating from airplane, and I have made a production workspace, and a staging one. Is there any way to share my quota between those workspaces? If not, I would be paying twiece to have the 2 environemnts...

Catching errors

I'm trying out Windmill to run some long running nightly tests, and I'm wondering about how to deal with tests that throw. - All the tests are run in parallell using "branch to all" with each branch set to skip on failure - As a result the "suite" as whole thus completes even if one test explodes, good - But at the end of the run I want to collect all the results to produce a test report - Each test has a name, and each test should either return "success" or "failure"...

Postgres TLS Connection is invalid

I've followed other questions about deno pgCLient raising an error
Error: The certificate used to secure the TLS connection is invalid.
at Connection.#startup
Error: The certificate used to secure the TLS connection is invalid.
at Connection.#startup
...