Windmill

W

Windmill

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

Join

help

general

changelog

What're the best practices on error-handling in trigger scripts?

In particular, is there a blessed way to handle errors in subsequent scripts, and safely rollback the entire flow? An example: A trigger-script sees a new entry in a Notion database. If a subsequent script fails with a transient error, I'd like to rollback the "last seen", so the trigger eventually gets re-run....

Customazation of a required field

it is also possible to make a field required when conditions are met?As it is possible to make a field appear if it meets certain conditions, is it also possible to make a field required only when conditions are met?

Hide frontend components

Wondering if its possible to hide frontend components (e.g. buttons, tables) based on a specific value - e.g. if there are 0 receipts or 0 rows in the table, the component should be hidden is there a way to do that?
No description

How to create a custom component - template seems broken?

https://github.com/windmill-labs/windmill-custom-component-template?tab=readme-ov-file has simple steps, but when followed you end up with something that feels broken. I was expecting to see more, based on the contents on the Component.tsx....
No description

Is it possible to use the custom_tags endpoint using the API?

I'm currently working on a use case which spins up a worker with a unique identifier in the tags list and I'm wondering if there is a way to use the API to register this custom tag in Windmill using the custom tags endpoint. Developing using the UI I see that the http://localhost/api/settings/global/custom_tags endpoint is used for registering tags, but I don't see the endpoint listed in OpenAPI documentation https://app.windmill.dev/openapi.html. Thoughts?

How to create an AI Agent?

I'm looking for options to create agents that can use tools. I'm aware I could inline a langchain setup in a script, but what I think windmill should offer somehow: Define an agent step that can use baserow scripts as tools....

Is it possible to send attachment via "Send email" Flow step?

The Flow step "Send email" exists. I can also add content. However, is there a way to attach outcome of a previous step in that Flow as a file to the email?

How to increase Max timeout for sync endpoints in windmill cloud

We would like to increase the max timeout in the windmill cloud to a greater value. How can we do it.

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