Windmill

W

Windmill

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

Join

help

general

changelog

Cannot convert between String and JSONB in PostgreSQL

Given the following json object below,
["ABC","DEF","GHI"]
["ABC","DEF","GHI"]
I would like to update a record in my postgresql database of type jsonb using a postgresql script such as below:...

App: HTML Loop through array

Hi, I have a nested JSON Object with line items and within that I have another array with more information, how can I display them in HTML and loop through the array without generating the HTML with a custom script? Is there any template engine for rendering the HTML that I can use to loop through an array, like JSX (I've already tried the JSX .map and it failed)...

Solved - Is it possible to use nginx as my reverse proxy and still use "email triggers?"

I'm running Windmill on a DO box (Ubuntu 22.04) that's hosting some other apps, and I'm using nginx to route requests to all the apps. Everything is working great except I can't get emails to post into Windmill. From what I'm seeing, nginx is registering emails the server is receiving. As soon as it tries to send it to Windmill though, the connection is immediately closed. That's what I'm gathering from looking at nginx's logs and this testing tool at least. Not sure if this is the right place to ask. I know I'm not using Caddy directly, which is the default setup. But is this something someone can help with? Let me know and I'll post my full configuration files....

Create Mysql resource with client certificate

Hey my GCP cloud sql database running mysql requires a client certificate to connect. This means specifying 3 .pem files in the ssl config, client key, client cert, and server ca. It also needs to be configured to not do a full verification of the server ca because the domain check will fail. This is just how it works with gcp cloud sql SSL. Your UI currently does not support this kind of connection How can I specify these parameters when creating a mysql resource? Thanks

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