Windmill

W

Windmill

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

Join

help

general

changelog

Instance SMTP Usage

Per the docs, it looks like the only demo'd usage of the instance SMTP is for sharing invite emails. Can these instance SMTP settings be accessed to send critical alerts as well? Ideally via built-in windmill support in a custom error handling script for schedules.

Input customazation on a flow

in a flow how can I make an input field only appear when another input field is filled?

Croner Day of Week Index Inconsistency

From reading the docs about windmill's usage of hexagon's croner expression parser... it seems clear that the intended functionality is that to schedule a script/flow to run Monday-Friday you use 1-5... However, as you can see in the screenshots I have shared, using 1-5 schedules for Sunday-Thursday, and using 2-6 provides the Monday-Friday schedule.
No description

Issue with button functionality working in preview mode but not in deployed mode

Hey guys, I’ve encountered an issue where functionality that works correctly in the preview/draft mode does not seem to work once the application is deployed. In the preview mode, when I press the “Press me” button, it properly marks all checkboxes in the AG Grid component named “c” as ready for review. ...

Can't cancel any jobs

I've deployed Windmill (self-hosted on DigitalOcean) and the deployment went great, everything for the most part is running great. Except that every time I launch a flow that loops over some data or may contain a bug of some sort, I have no way to stop it - even after restarting the VM. Every time I've tried to hit Cancel or Force Cancel I get "could not cancel job" and I also have several "zombie jobs" stacking up now.
Here's an example Flow where I am simply trying to download a list of events from an external API, then loop through each event and query the event's Listings/Sales via API.
summary: Seatgeek...

The flow could not be saved - Flow version not found

Hey! When deploying a flow with a schedule i get the error The flow could not be saved: Internal: /windmill/windmill-queue/src/jobs.rs:3219:34: 26543: Flow version not found This happens in Windmill CE v1.440.1 and also on https://app.windmill.dev/...

Large SQL input field like in the native one

Hey! I am wondering whether it's possible to have a large SQL input field like the one for the native SQL-based flows, but in a custom user-created flow? I know there is a data format called "SQL" which supports syntax highlighting, but the field itself is pretty limited and differs from the native one. Thanks!...

Failed to find relative import

We have self-hosted Windmill server. After server was restarted, we've found that every flow is broken. All relative imports inside the flow don't work with errors like: "ExecutionErr: ExitCode: 1, last log lines: job=0193d931-9e95-c35d-f240-6e7ad9ffba22 tag=bun worker=wk-default-e968bb332c80-uXFG1 hostname=e968bb332c80 error: Failed to find relative import at http://127.0.0.1:34291/api/w/uat/scripts/raw_unpinned/p/tmp/main/../../../profit4/getProductIdBySku.ts...

windmill postgresqldb migration

I installed windmill via helm chart and used postgresql in the chart via the values in the default values.yaml. I need to migrate the existing db to connect it to another postgresql that is external, it didn't work well when I simply copied it with a tool like pgadmin, is there a procedure for migration?...

wmill sync resource deletion

Not sure if this is the right forum but I believe there is a bug in wmill sync deleting resources. If I run wmill sync push from my local branch that doesn't contain a resource which does exist on the remote, the sync correctly identifies that I am going to delete the missing resource. But, after it says it deletes, the resource continues to exist on the remote.

Failed to import Python Libaries

anyone else have had this problem below? error: Request failed after 3 retries Caused by: error sending request for url (https://pypi.org/simple/pymongo/) Caused by: operation timed out ...

preprocessor http post data check

When the preprocessor receives an http request, the params and query are checked, but is it possible to make the data values coming in post available as well? I even tried modifying the preprocessors using https://www.windmill.dev/docs/core_concepts/preprocessors as a reference, but I couldn't pass the post data to the input....
No description

Type Error in Flow Dynamic Inputs

I have created a flow that iterates through an array of inputs where each input is an object with 3 fields - all of which are strings. Functionally, the flow is working perfectly. However, when I am in the flow editor, under the step input view, my inputs are giving a type error implying that the iter.value is a string, when in my case it is an object. Is there a way to define the type of the iter.value or am I missing something that is causing this type error?
No description

Problem with mobile content

Hi, I have a problem with the application on mobile, the screen contents get in the way when dragging the screen down and clicking on the buttons and the pop-ups are either too big or don't work as expected, any tips on how to solve the problem? Note: Some time its just impossible to drag the screen down....

Get list of avavailable workers not running jobs

Hi all! We are integrating https://app.windmill.dev/openapi.html#tag/worker/GET/workers/is_default_tags_per_workspace in our flow to check if a worker is available or not (to report in an app). We see things like occupancy , occupancy last X seconds / minutes, etc. but what is the most reliable way to know if a worker is available right now? Thanks!

Having trouble running python scripts that depend on packages from AWS codeartifact.

We're an enterprise customer, Vareto, and we self host. We use amazon web services (AWS) CodeArtifact to publish our python packages, and we need Windmill to use our index when setting up python environments. The problem is that AWS expects the url to contain a token, and the token expires after at most 12 hours. Using the enterprise "Pip Index Url" and "Pip Extra Index Url" features doesn't solve the problem because there is no way to periodically update them with a new token. In the past, we got around this by having windmill periodically trigger a script on the workers which would update the $HOME/.config/pip/pip.conf file on the worker with a new index-url. Similar to this:...

AI completion

I'm getting an error with my AI set up: log: ```...

Output is wrapped in a promise

Hello, I have a flow with scripts in it. The problem is that one of the scripts behaves differently from the others. It returns an object, but when I try to access this object in an if statement (or just pass it to another inline script), I can't access its attributes because the entire object is wrapped in a promise. Before returning this object, it's definitely a regular JavaScript object, but after returning, it gets wrapped. What could be wrong?

Creating a resume URL for an approval step in advance?

In our usecase, we need to generate a callback URL, send it to an external service (so that it can use the callback URL as a webhook), and then use it in the approval step so that it waits for the trigger. My naive assumption was that it's possible to have 2 steps: the first one with a call to getResumeURLS() and then, in the second, pass it to the Approval node. It turned out, however, that the endpoint path is generated relative to the node and job that call the method. ...

Reset super admin

Hello everyone. I am unable to log into my account (EE) because the Microsoft integration has expired and I am unable to log in (via Microsoft sign in) to fix the issue. Can anyone help?