Windmill

W

Windmill

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

Join

help

general

changelog

Script runs perfect when ran manually but it fails intermittently when add it to schedule

Script runs perfect when ran manually but it fails intermittently when add it to schedule with below error WaiterError: Waiter CommandExecuted failed: Max attempts exceeded. Previously accepted state: For expression "Status" we matched expected path: "InProgress"...

Inline OracleDB . How to use input variable as Oracle table name?

If I try the following query into InlineDB Oracle function I get the error message «{"name":"ExecutionErr","message":"execution error:\nError: OCI Error: ORA-00903: invalid table name» -- :name1 (text) -- :name2 (text) -- :table_name (text)...

My flows stopped working after updating windmill

I updated windmill today, running on coolify and it appears that many of my flows stopped working. Looks like something to do with package cache or lock file, any pointers on how to proceed? I am seeing stuff like : ```TypeError: Object is not a constructor (evaluating 'new import_woocommerce_rest_api.default({...

Can't import google-cloud-storage

Hello, I'm using the enterprise version, and I have setup a gcloud resource. I can't figure out how to import from google.gloud import storage that systematically fails, since it doesn't pick up that it needs to install google-cloud-storage. I've tried to formally add it at the top of the script using this ```...

Auditlog for user login info

I'm trying to get the info of the last time an user logged in on my workspace, as an admin, but in the API of audit logs, i can't find that information.Is there any available or other way i can get that information?

Stop stucked flow

Hi, we have stuck flow, how can I kill it? Cancel and force cancel don't work for some reason....
No description

Setting up a trigger when integrating with BigQuery

I want to only trigger the script when there is a file in my storage (BigQuery) has been modified. What kind of trigger should I set up and use to trigger processing in Windmill?

Running Windmill in a Closed Environment Without Internet Access

I recently tried running the self-hosted version in a closed environment. The UI loads fine, and the Docker Compose setup runs without issues. However, when I try to add a workflow or perform any activity, it gets stuck. Checking the logs for the windmill-server, I noticed errors because it's trying to reach an external server, which isn’t possible in my setup. Is there a solution to run it properly in a closed environment? does the self-hosted setup require any modifications to work in such an environment?...

Powershell script with PNP.Powershell module - How to connect with PFX SSL Certificate ?

Hello. I try to run a powershell script that use PNP.Powershell module. As reference here https://pnp.github.io/powershell/cmdlets/Connect-PnPOnline.html#example-5, the Connect-PNPOnline need to point to a PFX file. I'm newbie on windmill to be honest, i don't understand how / where i can store my pfx file in order to use it in my script. If someone can help me how to proceed please ? Best regards....

Intermittent 401 errors on private NPM packages

We're seeing some 401 errors in our Bun scripts during bun install of the form: ``` bun install v1.2.3 (8c4d3ff8) error: GET https://npm.pkg.github.com/download/x/x0.0.1/xxx - 401...

PHP extensions and environment variables

First of all, I'm loving Windmill. Great job so far. Second, I have two questions, 1) How do I install PHP extensions?...

Almost all executions fail with 'error: Unexpected reading "/tmp/windmill/wk-default-a8f...'

I recently deployed a new instance of Windmill using the provided docker-compose reference configurations. I'm able to log in and navigate the application, but when I attempt to execute Flows/Scripts, they all fail with error:
--- BUN INSTALL --- error: Unexpected reading "/tmp/windmill/wk-default-cdbe7a8fd670-vi95I/0195394b-643d-3729-5eba-2d400a8cd5cc/build.js" ...

Durable script that picks up where it failed

How can I build a C# script in Windmill that stores an int id such that the script will pick up where it left off for example if it was rate limited or failed execution midways through execution? Similar to Durable functions in Azure or Temporal....

Need help in understanding source code

Hi, I'm currently going through the windmill source code to contribute to it. I just wanted to know where is the job result is being saved. I found the following code in backend/windmill-worker/src/worker_flow.rs: ```rust let nresult = match &new_status { Some(FlowStatusModule::Success { flow_jobs: Some(jobs), .. }) | Some(FlowStatusModule::Failure { flow_jobs: Some(jobs), .. }) => {...

App specific SSO

Is there a way to have SSO over only one app? I don't need authentication over the whole instance so just want to add it to one of my public apps.

Renaming a workspace's id does not work

Attempting to rename a workspace's id, and when I hit Save nothing happens. No error in the deployment's logs. We're on EE v1.466.3

Error in DB Migration: v2 migrate from v1

I have decided to upgrade one of the worker groups and apply the new migrations but getting this error constantly: 2025-02-21T06:16:12.576439429Z 2025-02-21T06:16:12.575768Z INFO windmill-api/src/db.rs:93: Acquired global PG lock 2025-02-21T06:16:12.587240719Z 2025-02-21T06:16:12.587029Z INFO windmill-api/src/db.rs:130: Started applying migration 20250201124748: v2 migrate from v1 ...

Pull custom resource type for local dev?

Hello! I have question about custom resource type. So I've managed to wmill sync pull almost all the stuffs from the Windmill remote, from the scripts, flows, to variables and secrets, and even resources. However, I found out that resources made using custom resource type will not have the custom resource type definitions (in JSON schematics? Or maybe in other format?) are not being pulled to local, and there seems to be no way to pull it. The only alternative way I saw is by making our own custom Hub and syncing the custom resource types to that Hub somehow...? Or maybe I miss something? Would really appreciate some help, thank you in advance 🙂...

Changing user email

Hi there, I think I'm blind but...where can I change the email of an existing user?

postgresql dynamic params

when running a postgres type script (which i understand is rust under the hood) I am unable to utilize dynamic params when running. sample script: -- $1 name1 = 1 hours...