Windmill

W

Windmill

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

Join

help

general

changelog

Triggers are not git synced unlike all other resources

When we git sync, we notice that everything is fine except HTTP triggers. We are currently using version 1.485.1. Thanks!
No description

Accessing logs of flows executed from a script

Hello, Is there a means of accessing the logs and inputs of a flow executed from within another flow or script? E.g. ...

Solved - Step Input Disappearing

The values written to the Step Input disappear automatically when switching to another context menu. This isn’t just a UI issue; the actual values are also saved as blank when saving the script, flow, or app in the situation. Please refer attached media for reference.

[SOLVED] Casting to Enums and custom types - PostgreSQL

Hello, I am encountering the following error when I try to upsert on a PostgreSQL record where one of my arguments is an enum type. I assumed I would be able to use a string directly from my script arguments, but that does not seem to be the case. Error:...

Flows stuck in "Deploying in progress" state after a fresh "wmill pull" and "wmill push"

Just finished migrating my on-prem server to AWS ECS and wanted to migrate all of the flows/scripts/vars/schedules... I did "wmill sync pull --base-url OLD_URL --workspace OLD_WSPACE --token TOKEN" and then "wmill sync push --base-url NEW_URL --workspace NEW_WSPACE --token TOKEN". Everything worked, I can see all of the entites in the new instance, but only flows have this label "Deployment in progress..." when I open them, so I can't run them at all. Anyone had this issue or might have information about why is this happening? P.S. Steps show up normally an I can successfully run them, the only issue is with flows....

Flow integration not showing inputs

I am trying to use an slack integration for my flow, send message to Channel, but for some reason inputs to this steps are not displayed. When I fork the integration into my user folder it works. This is the integration that doesn't work: - hub/18011/slack/send_message_to_channel But we have another flow that uses an older version that actually works correctly: - hub/1410/slack/send_message_to_channel If I add the new integration (18011) to the flow using (1410) it also doesn't show inputs (the new one)....

Using Types as Inputs to Script

One thing I've always found to be confusing is why we can't reuse a type for the input definition for a script. For example, to make the input inference work for this example, I'd need to copy and paste the RelativeDateConfig definition and replace the type reference with it for gt and lt. Maybe I'm just missing how you'd expect this to be handled. ```export type RelativeDateConfig = {label: "today", hours?: number, days?: number} | {label: "now"} | {label: "custom", value: string}; export async function main(...

MySQL script - Argument support list

Hello, I have a MySQL script, and I wish to used named arguments : ```...

Plugs in Flows broken

Was using the previous version of windmill that still had the beta version of ansible running updated it to latest full build from 3 days ago bc I kept getting errors that ansible wasn't installed and to install the full version and now when I load in my flow from yaml back up and go to plug the variables in my scripts to the inputs field they'll delete the connections on save and page refresh or will delete the connections for another script in the flow incredibly frustrating was meeting a time...
No description

Enterprise solution

Hello! We are planning to use the windmill enterprise and i have a question regarding environments.. With enterprise self-hosted, can we have environments like DEV/STG/PRODUCTION?...

In flows: "Dynamic Select is not available in this mode, write value directly

@rubenf Hi! when adding script to my flow, with Dynamic Select, I'm getting this erorr: "Dynamic Select is not available in this mode, write value directly". How can we enable it in flow?...

Workers show up in service logs, but not in the Workers UI

I have connected one native worker (ECS service) and one GPU worker (on-prem server, connected to VPN/VPC). I have added routing to my VPN config and can connect to the PG DB using pgAdmin and psql when ssh-ed into both of these machines. Docker logs for the worker containers show normal connection to PG instance and, most importantly, workers show in the service logs (attached screenshot). The problem is the Workers screen shows 0 worker for all three worker groups (screenshot attached). This is also preventing me to create a root admin user, since the Deno job which is (I assume) supposed to execute to do this doesn't find an available worker. I can see that my job queue has some jobs, probably reflecting the fact I tried to create the root user 3 times without success....
No description

Active user list

Hi. On the enterprise version, is there a way that I can get a list of all the users on an instance with when they last logged in and the execution count across all workspaces for say the last month? Would I be able to query the PostgreSQL DB directly for it? Thanks...

Modal styling inconsistent

When using the styling panel on the left the color effects the header, as shown in red. But when changing the color in the global styling sheet it effects the body, shown in blue
No description

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