Windmill

W

Windmill

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

Join

help

general

changelog

Form in an app

hi guys, i'm trying to use a form in a windmill app, where it has fields with required and then the button to execute a task taking into account the values of the fields. What has happened in tests of the app is that when I execute the task even without filling in the required fields in the form, the task is executed anyway but then it gives an error because the value is missing in the form field. Shouldn't the validation of the form fields occur before the task starts executing or is this a configuration that has to be done? I would like to inform you that the form I am using is by compute, that is, I have a script with the fields configured....

Some components have undefined for their global style class specifier

While trying to create my own global theme I've noticed that some components when you press convert to global say undefined. In this case I'm trying to apply a background color to the Alert component's background:
No description

Unable to Deploy Flow from Admins to Prod Workspace (Row-Level Security Error)

Hi, I have two workspaces: admins and prod. I have a user who has developer permissions in both workspaces. This user can create a flow in the admins workspace without issues. However, when he tries to deploy this flow from admins to prod, he gets the following error:...

HTTP Routes: Query Params

Need help establishing on how to send query params within a GET request. Currently; when I send a request on one of the HTTP Routes and then use preprocessing, the query object always comes out blank. Is there any solution that does not involve me having to use include_query in my request?
No description

Best practices for managing schedules across environments

Let's say we have a set flows that we'd like to run on a schedule in our production environment, but want those flows' schedules disabled in development environments. What are the best practices around marking a schedule as enabled/disabled in different environments?

AgGrid doesn't bubble `selectedRows` to parent Accordion List

I have a table nested in a dynamically sized accordion, and I have been fetching the selectedRow from each table through the accordion's inputs. When the tables are multiple selectable though, selectedRows does not show in the accordion's inputs. Can I access the selectedRows of every table without going through the accordion's inputs? I'm also just now noticing that the selectedRow for each table in accordion's inputs is not accurate either. Well at least my expectation is it wo...
No description

How to customize Color presets for a button component

The info icon seems to imply you can customize the color presets but I can't find anywhere in the documentation that says how to edit them
No description

Issues when editing existing app

I updated windmill recently from 6-8 minor releases behind. This is the first time I've gone in to edit my existing app in the builder and I'm having an issue that makes the builder unusable. It may or may not be related to the update. The behaviour I get is mouse icon constantly rapid switching back and forth in between the hand icon and the arrow icon. Any click I try takes 10-15 seconds to register. I'm using chrome on windows and have replicated this using incognito mode with no chrome add-ons as well....

Help setting up Duo through SAML

Hello, we are setting up our initial instance of Windmill and we are trying to get SAML working with DUO wondering if you can help us figure out how to get that set up. The metadata is testing as valid but we are not able to log in.

aggrid table: default selected row

I see you can easily have windmill select the first row of an aggrid table on load. Is there a way to default to a different row based either on index or some value in the row?

Unable to connect to Atlas in typescript Mongodb

Hello ! I am trying to get data from Atlas Mongodb with Typescript using this code : import * as wmill from "https://deno.land/x/windmill@v1.450.0/mod.ts"; // import { MongoClient } from "https://deno.land/x/mongo@v0.34.0/mod.ts";...

Setting up Authentik on the community edition.

Hello! I am trying to configure Authentik on my community edition, however I am running into an issue where when I save, the URL disappears. I tried following the documentation exactly. The only other piece that I can think of that might be cause an issue, is that the authentik subdomain where I have service deployed (dokploy), is proxied behind a wildcard cloudflare domain. SSL is fully configured however. Screenshot should illustrate the issue I am running into......
No description

Including results from previous step in an inline string arg

Hello, in a flow I created I'm trying to include results.c[0] from the previous step into the prompt arg of my string, but the variable doesn't get added and instead just includes the text "results.c[0]". How would I add the value of results.c[0] to the prompt arg? Thanks.
No description

Taking in excel spreadsheets

Hi everyone, I'm fairly new to the tech space and as a project from my professor. We were tasked with using windmill to take in an xIsx file, do the data preprocessing and generate outputs. And then create an app that would allow us to plug in different excel files. Then under go the same preprocessing and visualise outputs. Usually I would do this with Jupyter notebooks. I am having a little bit of trouble trying to navigate windmill, it's a little overwhelming for a beginner. I was wondering if anyone could spare some time to help me/ point me in the right direction....

Bun shell script best practices?

I've been using Bun and Repomix together — but didn't know if I'm approaching it the right way on Windmill? Here's some example code for how I've been calling the Repomix CLI from a Windmill Bun script: https://gist.github.com/zachwill/00c5bc674a4e20203358f0572fc556b1 My question: is this how you guys would approach it? Using /root/.bun/bin/repomix from the script?...
No description

Custom font family

Is there a way to use a custom font? It doesn't seem like there's a way to package my own font up or reference it through the web when building a windmill app

dynamic arrays of components

The different Tabs components don't seem to support Eval for the tab names, which made me realize there may not actually be a way to dynamically add and remove components from an app. My specific use case is I wanted to convert a Plotly Dash dashboard into Windmill. In this dashboard script, I create an AgGrid Table in each tab to allow the user to build arbitrary groupings of data to compare in the different charts, which has proven very useful. Is this at all possible to implement in Windmill?...

using mcp server context7 to get updated code blocks with ai

is there a way to use mcp server context7 (https://context7.com/) in an ai chat so the ai can insert updated code blocks from libraries?

See Windmill script dependents via API

Using the Windmill API is it possible to see all of the flows where a specified script is being used?

Is it possible to combine light and dark mode under one theme?

I'm creating theme styling for my company in Windmill and was wondering how people have approached light vs dark modes, do you keep them as two separate themes or can you combine them under on? - Is there a ctx or global variable that could represent the color mode to all components? - How could I change between two colors in the component styling using that variable? I.E. (isDarkMode ? 'bg-dark-500' : 'bg-white-400') - What exactly are evals? The documentation is scarce on them and I can't seem to get any complex logic working right in them...
Next