Windmill

W

Windmill

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

Join

help

general

changelog

Invalid flow failure while handling flow error

Hello, I have recently encountered an error within my flows error handler I can't explain/understand. My error handler is to read the flows state and write it to a database via the following bun script below ```js import * as wmill from "windmill-client" ...
No description

Windmill Apps: frontend script helpers : recompute a backend script and wait for new job id

Hi! I was not able to do this. Is there any way to recompute / run backend script from front end code, and wait for the result or for the new job id? (even in async function, I'm still getting a stale job id)...

Cannot delete components from my app

Hello, I recently tried deleting some components from my app but could not. There are no errors in the dev tools panel either to assist with resolving. I can also cut and move the component, but deleting it fails. Attached is a short video on the issue. Appreciate any assistance on this issue. Thanks

[solver] Agent workers and permissioned_as

Hi there, I'm trying to execute some script in an un-trusted environments, I organized my scripts and secrets inside folder, and I currently have: - /f/customer1/remote_exec.ts - /f/customer2/remote_exec.ts ...

What is the SQL statements that require Postgres Advisory Lock

hi, could anyone help point what are the SQL statements that require Postgres Advisory Lock, which cause the following error: ``` jemalloc enabled Connecting to database......

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?...
Next