Windmill

W

Windmill

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

Join

help

general

changelog

modal on button press

Hi, when I click on a button and a flow is running, I currently use the option "on success" to open a modal with the flow execution. Is possible to open the modal already when I click the button before the flow is finished? Also is it possible to control components via scripts like if they are loading? I couldn't find anything in the documentation and setValue() did not work on loading....

Hot swap flow query for similar with additional arguement

I have a simple flow that calls a Postgres query, (with args) and then for branches from there. I now want to replace the query with one that is very similar but has one additional argument. I edited the query in YAML to replace the path for the sql script (which seems to save), but when I try to add the additional input transforms for the third argument, it keeps disappearing when i apply changes and go back and look at flow. ...
No description

Synchronize Hub Ressource types with instance throws "Error: Could not reauth"

Hi there! We are just getting started evaluating Windmill self-hosted for a possible EE-deployment. We are currently running version Windmill CE v1.478.1-5-g46797f072 behind an explicit proxy. Proxy settings are passed to the docker containers via env variables HTTP_PROXY=http://redacted.local:3128, HTTPS_PROXY=http://redacted.local:3128, NO_PROXY=localhost,windmill.local,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16. I can see in the proxy logs, that Windmill uses the explicit proxy for outbound connections....

No arguments passed to main when relative imports in VSCode Preview

Hi, when I bundle relative path for local preview in VSCode (the only way I found to have relative imports working), when I test my script, arguments are not passed to it. To reproduce, here is a simple script: ```typescript import { Language } from "./lib/database/types";...

Is it possible to mix python and typescript within in the same flow and have them simultaneously run

I want to implement this solution mentioned by Perplexity.ai: https://www.perplexity.ai/search/is-it-possible-to-start-a-chro-D7iYBu8mSnG..yVEcGxb3g#0 To alleviate an issue I am having in automating a form submission for my users because of a hidden Cloudflare Turnstile Captcha. I read elsewhere that the undetected_chromedriver in Python can do that. My issue is that the script I am trying to execute uses Puppeteer and i would very much like not having to re-write it. It looks technically possible, but I was wondering if its possible on Windmill itself? Thoughts?...

datetime script param throwing a syntax error in python

I'm trying to use a datetime script param but the linter flags it as an error and when run I get "NameError: name 'datetime' is not defined. Am I missing something here?
def main(startDate: datetime, endDate: datetime, page: list):
#rest of script
def main(startDate: datetime, endDate: datetime, page: list):
#rest of script
...

Python Dependency hell in windmill

Hello, I have encountered an issue with the whole dependency setup in windmill. I have a python script in windmil. I use phidata package. This package is accessed in python with 'from phi import ...'. ...

EE Trial License and bunfig scoped pkg's config not working on the second instance as desired

Is there a limit on my EE trial license: I see that the portal says 1 seat. So far, I have only had 1 docker-compose non-prod on my laptop, and one in Fly not marked non-prod, but it seems I can't pull private packages on the Fly instance even though I am running with the EE images and the license key is set. There were some difficulties in initial setup with migrations taking longer to get the lock, they eventually finished and I am not seeing any other difficulties other than not being able to pull the scoped npm packages listed in my bunfig in the instance settings. The same setup has worked well on my laptop with the docker-compose. So any help would be appreciated. Bottom line is when its not working, it likes to resolve the scoped packages in the bunfig from npmjs.org and 404s obviously. Bunfig is actually pointing to GitHub. The documentation confuses me where it says to set up the npm private registry. Is it necessary to do that and set up bunfig - on my local instance, the problems finally went away when I just had the bunfig set. However, the same working config is not working on the non-prod instance. Tried doing a docker compose down to see if its a limit on the license seats causing the issue....

"deployment in progress" hanging forever

Hello there, I am using the enterprise version on my own deployment, with 4 workers. On GCP. I am trying to save some scripts / flows, and my deployments are not going through ("deployment in progress" hanging forever). What's the best way to debug that ? Cheers...

dagger function

I would like to know how to connect to dagger cloud!

intellisense

Hi Guys! I'm trying to create a simple Python script: from agno.agent import Agent def main():...

Using outputs from scripts as inputs

Hello, can someone please explain to me how can I use the outputs from one script as an input to another? I know there is documentation written about it, but to me it's not clear what exactly I need to click on in the UI to make it work. I'm attaching a screenshot of my flow which has two steps: the first script that does some processing on the data, and the second script that uploads this data into BigQuery. ...
No description

How to fetch the path or jobid of a flow that called another flow

Within FlowA I am calling FlowB with static inputs, one of the inputs being the 'path' from FlowA. Is there a way to automatically fetch the FlowA path (or jobid) within FlowB without using a static input ?

SQLite Query Compatibility

I am just getting involved in using windmill for process automation - mostly around data normalization in application data workflows (iCal / vCard / Bookmarking / Chat export / etc.). I'm trying to figure out a reliable way to connect external data files, specifically sqlite files in a way that would enable me to interact with them using scripts / flows. This is somewhat related to best practices to grant access to external "object" data (done with s3 interface in enterprise) / remote files - ideally with sftp? Sometimes these sqlite files do exceed 50mb....

Importing docx

question im using windmill web IDE and im importing Document from docx like so: from docx import Document but i get an error:...

dependencies on remote server

I created a requirments.txt and generated a lockfile by running wmill script generate-metadata ,but when I ran wmill sync push, I don't think the lockfile could be pushed to windmill , I can run the scrip without any issue by using the extension windmill in vs code when I turn on the button of ' use current lockfile' , buth when I login the remote windmill by using a browser, I still have an issue saying can't find the swiftclient module which is used in my code, and when I ran wmill sync pull...

Error migrating db

I'm attempting to use Supabase as an External DB but receiving the following errors in windmill-server: INFO windmill-api/src/db.rs: 154: Started applying migration 20241127171723: apply windmill roles INFO windmill-api/src/db.rs:181: Finished applying migration 20241127171723 Error: Error migrating db: Migrating database: while executing migration 20241127171723: error communicating with datbase: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof...

smtp not working

Hello. Trying to send email from a basic workflow : - I created a SMTP ressource under a workspace. - When trying to send an email, i got the following issue : ...

API Response of the scripts and variables it's different from the documentation

I'm using the APIs to list users and scripts on POstman and I'm getting a response differente that shows on the documentation.in my responses , I've missing fields such as created_by, folders,groups.Am I the only one with this problem?
No description

Error_Handler on Schedules

anyone else is having a problem when adding an handler_error script to their schedule, save it and then when u go see (via api GET lis schedules), there's no error handler assigned to that schedule?
Next