Windmill

W

Windmill

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

Join

help

general

changelog

How to copy all windmill artifacts from windmill base image?

Where would windmill artifacts be located if I want to manually copy them to my own docker image? For example I am basing my image off of windmill ``` FROM ghcr.io/windmill-labs/windmill:latest...

Internal: Result of job is invalid json (empty)

Hey, I'm getting the following error while trying to execute a simple Bun script (sending a Slack message): ```...

Resource SMTP cannot renew access token

It seems that my SMTP resource cannot renew access token. Whenever I tried to use the resource or renew access token. I got this error: Bad request: invalid client I tried to use dropdown, or the button, but still produces the same error. Any help would be appreaciated. Thank you...

edit error

I was designing a form template consisting of multiple components, and suddenly I received a message in a pop-up window: 'App restored from browser storage Discard URL stored autosave and reload Show diff .' Now, I cannot make any changes to the application. How can I fix this?...

Validation

Hello, I've been struggling with the validation process within the form. When I try to use the submit form component, the script is limited. For example, I can provide simple options for select components. What I really want to do is to display a list of data that can be selected from the database (e.g., names of countries). When I place the components separately without using the submit form, I solve this step with a background runnable. However, in this case, I cannot set up validations. Do yo...

How to write windmill variables from scripts

I have to do a task from the point which i store in a variable then save new point in that variable and this task going on in a Schedules i write a script to do that task i import variable (await wmill.getVariable('u/aXXX/id)) but i can't write it back as the script run ...

How to handle a paginated graphQL request?

Hello, I have been really enjoying using windmill and I figure I am missing something but how should I handle paginated graphQL requests? I have a a graphQL request which takes a "first" prop to make paginated requests and I have used a while loop in the past to keep fetching pages until I retrieved all necessary records. However, I am unsure how to do it the Windmill way. To be clear, this is being used for a data pipeline so all the data needs to be fetched and processed so I need to paginat...

Getting ExecutionErr for lightweight flows run by schedule

ExecutionErr: error during execution of the script: process terminated by signal: Some( 9, ), stopped_signal: None, core_dumped: false ...

Accessing dropdown data in select component

I connected the data of country names from Supabase to a select component on the Windmill app. I can select any country on the select component, but I cannot access this data. It shows 'undefined' in the result section. What should I do?

Frontend library addition and validation

Hi, I would like to add the "ajv" library as a frontend script for validation processes in Windmill. Is it possible? Additionally, I aim to apply validation to my frontend inputs one by one without using a submit form.

Internal server error when using ai code generator

I tried using the ai generator in the runnable editor and get this error: Failed to generate code: Internal Server Error In the logs, it says: ERROR request: windmill_common::error: error="Internal: Embeddings db not initialized" Is there some sort of embeddings db I need to set up? I might've missed it in the docs, but I didn't see it mentioned specifically on https://www.windmill.dev/docs/core_concepts/ai_generation either...

Infer Type Unreachable

I'm attempting to migrate from a self-hosted windmill instance to Windmill Cloud. I installed the wmill CLI and pulled the files from the self-hosted install; however, when I attempt to push the files in wmill Cloud, I get the attached error message: error: Uncaught (in promise) Error: infer type unreachable throw new Error("infer type unreachable"); ^...

Loop over all items in previous result and write each as a (postgres) db in flow

Hi, can anyone please share any examples or hints for looping over a number of objects (like 5k+) in the previous result and writing each as a row in a db? I can of course link the inputs in my inline postgresql flow action to each item like results.b.reports[0].someValue but that will insert only the one row for reports[0]. I would like to repeat this and insert a row for as many objects as exist....

Passing custom argument to deno CLI

Hi there ! I'm currently using windmill to synchronize data between database using some deno typescripts. Some API I'm posting on just changed their SSL Certificate a few days ago and I'm having this issue during the runtime :...

OIDC/proxied authentification support. Custom components (Svelte/Vue/React)

Hello! I'm really interested in your service! I read through the docs section on your website and I guess I may have overlooked answers to the questions I'd like to ask. If so, I apologise and would be grateful if you give me the right directions. As for the questions, can you please tell me whether Windmill can integrate or provide me with settings to the following services: 1. OpenID Connect. If there is no OIDC support is there a way for me to introduce a proxied authentification to my project? 2. Is it possible for me to create a brand-new custom component (using Svelte/Vue/React)? Or is there a way to customize your existing built-in components using the librararies or frameworks I mentioned earlier?...

Manual migration update?

I've been hit by this issue when upgrading to the latest version during migration:
while executing migrations: error returned from database: syntax error at or near "TRIGGER"
I believe the reason for this is that CREATE OR REPLACE TRIGGER syntax doesn't work in AWS Aurora PG 13. Now upgrading to 14 is something we can do but will need much more effort and testing. ...

OAuth Access Token does not renew automatically

I have a resource that refuses to renew its access token automatically, I am fetching it within a script using await wmill.getVariable('***') . The error I am getting in the script is as follows ```javascript ExecutionErr: ExitCode: 1, last log lines: 211 | const workspace = getWorkspace(); 212 | try {...

Change element status/states or ui spesific properties

Can I access the states of an element, such as a form element, hide, show, active, inactive, or color, width, height, etc., within the javascript code? Can I use it with the DOM? Or https://www.windmill.dev/docs/apps/app-runnable-panel#frontend-scripts-helpers Should I add frontend-scripts-helpers as in the frontend script helpers section?

Is it possible to import functions from workspace scripts inside Background runnables?

One (probably stupid) question - is it possible to import functions from workspace scripts inside Background runnables? The same import works in other workspace script, but results an error when added to background runnable: ``` --- PYTHON CODE EXECUTION --- ...

Chartjs options not working

Hi, do chartjs options actually work? I'm trying to scale the x axis properly (I have dates on the x axis). Specifying the "options" seems to have no effect. I'm trying to use following options: ``` { "scales": { "x": {...