Windmill

W

Windmill

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

Join

help

general

changelog

Possible see partial data from large json data

is there anyway to see partial data without to slice and return?
No description

Content type: application/xml for http route

Hi all, I encountered an issue with the inability to receive XML content type for the http route. It always returns 415 Unsupported media types. It supports text/plain, but most XMLs will be sent by services we can't control so it's not an option. Is there any option to accept XML's? Currently only thing cames to mind is modify caddy config to change request headers to text/plain when they are application/xml...

Worker on demand

Instead of having workers running full time, is it possible to have a worker spin-up only when there are jobs to process? (e.g. with AWS Fargate)

Licence downgrade

I was running Windmill with enterprise, but was not using any of the main features. The paid sub has ended, and I have removed the licence key from Instance settings however I am not able to run my scripts anymore. Is there something I am missing to downgrade?

Move scripts and flows to new workspace

I just realised I've been putting everything in the admins workspace. How can I move everything to a new workspace?

What is the difference between a worker and a native worker?

I still don't really understand the difference between these two worker types and the documentation doesn't seem to really go into it other than to mention the default tags for each. Is it the case that a regular worker runs in a container but a native worker runs on the host? Or something else?...

Flow operator can view everything about a flow

I want to limit access for operators. I usually create a flow, then create an app on top of it in the same folder. As far as I'm aware, you have to give the operator access to the folder for the app, and the flow that the app uses, correct? So even if I put the flow in another folder, it wouldn't help... The problem with that is that the operator can go into a flow's view, read all the code and inspect all the logs of a flow execution. This is what I want to prohibit. How do I essentially just give them access to run the app UI while keeping the flow hidden? I tried archiving a flow, but that has git sync issues where wmill sync pull seems to see those flows as "deleted" - which breaks my CI/CD...

How do I act on the exit code of a previous flow step?

I cannot see any support for exit codes whatsoever, which seems like a huge omission, unless I'm missing something. Moreover, if I write a simple inline Bash step that just contains exit 1, the flow proceeds to the next step, reporting success. This is not at all what I expect.

Custom env variable

How can I use this custom environment variable in a flow? For example, use a custom variable to identify a user who has asked to run a script?

Custom HTTP route Auth

With the new feature https://www.windmill.dev/docs/core_concepts/http_routing I've enabled Authentication, but how can I create a token that authorizes?...

I deleted discord_bot_configuration... how do I get it back?

discord_bot_configuration is a resource type for this script, but forking it again doesn't give me the resource type again, so how do I get it back?

Trying to import Python package but Windmill doesn't recognise it

Hi there, I've been trying to use the package https://pypi.org/project/CurrencyConverter/ in my script, but when I try import it per what the package docs say, I keep getting a module not found error. I've checked the script's lockfile and it is in there with the correct version too, but I can't import and use it. This is part of the error message I'm getting: from currency_converter import CurrencyConverter ModuleNotFoundError: No module named 'currency_converter' ...

Searching by term from script's description: nothing is found.

In the Workspace Home, I search for a script/flow/app using a term in a script's description but nothing is found. When I search the same term using the Content search, nothing is found. Were scripts' descriptions forgotten from the search feature ?...
No description

How to change password

How to change the password for an existing user?

Experiencing slow to start scripts

We have started to have an issue in our self hosted env where there is a bit of a random slowness that has started. Its not every run, but the vast majority where scripts will take 60+ seconds to start, when they start the execution time is the usual 1s. E.g. run a flow, script 1: 70 seconds, script 2: 60 seconds, script 3: 60 seconds. Run the flow again, ...

Websocket Trigger

Can someone explain to me how the Websocket trigger works? Windmill connect to another server via websocket? Or how? There arent any documentation tho 😄...

tag "chromium" doesn't work for my workflow

my code is working for test this step part, but in test flow or deployed test, It doens't work ans how me there is no executable path, can you teach me what is the problem?
No description

Delegating a scripts to another user

I'm creating a data handler in windmill web ide. When the user is logged in, the database to which their data goes is automatically inferred via a discovery service, causing the data to go to the specified database. If a user is manipulating data at the request of someone from another team, I want that data to go to the database of the user who requested it and not to the one who is manipulating it. In the settings of a script, in the metadata, it is not possible to delegate a script to another user (to make it as if another user was running the script) and I would like to know how I can do this in windmill web ide, using python with mongodb integration....

passing jwt secrets between django app and windmill via api

Hey all, i am trying to securely pass bearer tokens between my django app and windmill to authenticate API calls and create a hashed payload for data exchange. In my django app i am using python-jwt (import jwt). This doesnt seem to be compatible within windmill. Since jwt doesnt seem to be supported in Windmill, I tried creating a custom encode_jwt function in Windmill using hmac, hashlib, and base64 to match Django’s HS256 encoded JWTs. Despite this, the tokens still aren’t matching up as expected. I know in the documentation there are specifics that need to be passed from the windmill side in the payload, I do have those listed as part of the payload referencing this doc. Is there a better way to do this? I can do it in params if needed... After narrowing down, I think this might have to do with my middlware and how it's authorizing the call back from windmill to my django app. Maybe something to do with listing the user in windmill to then be authenticated as it comes into django. This would mean potentially setting up a windmill user model in my django database in order to be authenticated properly, i believe. I just cannot seem to bypass the "unauthorized header" piece that is set in my windmill script. Wondering if i'm just going about this incorrectly....
No description

Relative imported module doesn't respect optional/non-imported Python dependencies

I have the following file in f/main/requirements.txt :
duckdb==1.1.2
polars[pyarrow]==1.12.0
duckdb==1.1.2
polars[pyarrow]==1.12.0
...