Windmill

W

Windmill

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

Join

help

general

changelog

Issue with Advanced -> Sleep

Hello guys! I'm facing an issue with a windmill project involving a flow. The flow includes steps designed to pause the process for specific durations—ranging from 20 minutes to 1 or 2 days. These wait times are determined by calculating the total seconds required for each pause, allowing for a randomized wait period within a predefined time window. ...
No description

How to pass parameters to SQL query?

In a postgres SQL query like SELECT * FROM <tablename> WHERE id in $1 where $1 is a list of ids I got constantly the error { "error": {...

Database studio doesn't show tables

I'm connected to a supabase, Data studio allows me to see the resource, shows schema and values. BUT doesn't show anything in the tables dropdown. How can I choose a table?

setVariable not doing what it's supposed to?

I might be misunderstanding something, but.. I've created a variable. 'f/sandbox/token'. It's not encrypted. I put a value 'test'. Then in a script I'm doing: ``` import { setVariable } from "npm:windmill-client@1.290.1" ...

Write TypeScript scripts interacting with Google Forms#9

For Google forms only with OAUTH 2.0 we can interact. Should I use https://www.npmjs.com/package/@googleapis/ ? @Hugo

I'm trying to remove file from import button via script

I have an import button but I want to clear the content in case something else happens, via transformer script of another process. Clearing the const doesn't work, even clearing result doesn't work, are there any helper methods availabe to frontend script?...

How to do a Mailhook like Integromat Make ?

I need to rewrite some Make scenarios in Windmill (Because it's better obviously). But I don't know how I should rewrite a scenario who start with an mailhook. How can i reproduce it in windmill ? Secondly, someone know what is a IMTBuffer ? It look like it's related to Make or Google, how can i convert it in base64? Many thanks...

Database Studio Table - Error

Hi, I'm experiencing some issues with Database Studio Table. 1) Submitting a new row fails due to an empty field:...
No description

Unable to use Assistants - (WARNING:tornado.access:404)

I seem to be unable to use the assistants. When I click the reload button nothing happens in the frontend and in the docker logs it shows this: ``` lsp-1 | WARNING:tornado.access:404 GET /pyright (172.19.0.5) 1.48ms lsp-1 | WARNING:tornado.access:404 GET /ruff (172.19.0.5) 0.45ms lsp-1 | WARNING:tornado.access:404 GET /diagnostic (172.19.0.5) 0.45ms...

Cannot import pytorch

Import torch causing Import Error. Any other packages is fine. The code: ```python #requirements:...

Postgres err: insufficient data left in message

I'm not sure how to approach debugging this issue For this query and inputs (in screenshot) I'm getting the error: ExecutionErr: error during execution of the script: db error: ERROR: insufficient data left in message ```...
No description

Connect to Slack on multiple workspaces

Following the directions here: https://www.windmill.dev/docs/core_concepts/error_handling#workspace-error-handler-on-slack I was able to connect our staging workspace to Slack and send messages as Windmill bot. But trying to do the same in our production workspace is causing an error (see attached). Do I need to create separate Slack Apps for each workspace? I am able to OAuth successfully, but seems to fail right after that before WIndmill is able to complete the connection to Slack. Any ideas?...
No description

Running a job from inside a flow

I'm trying to start a job from within a flow, right before the approval stage. For example: Flow A -> Script A -> Script B -> Approval C -> Script D ...

Changing input data type for PostgreSQL scripts

Currently everything is just text type for input, and I have to cast them in the query, is there a way to make the input another type? For example it would be great if instead of text, the entered_at field could be a timestamp type that uses a date picker or something like that...
No description

Which deno version is used by worker ?

Recently the 3rd party api server has updated its min TLS version I am using axios to call their apis But axios uses native module like in nodejs, it uses http module & min/max tls version of axios is determined by http module which in turn by nodejs version SO which deno version is used in worker...

Suggestions on folder structure

1. Is it important to get folder structure right in the beginning? Will it be a pain to re-organize later? 2. How should I think about what to put in which folder? For example adding a new database resource that everyone should have access to...

Connection aborted with the large request body

with the large request body, it will happen the "Connection aborted" ``` def writeAiResultDoc(data): apiUrl = resource['LANGCHAIN_ERPNEXT_DEV_API_BASIS_URL']...

Updating the app UI from within a running script

Is there a way to broadcast information from within a running script that I could propagate to the UI? I have a single script that triggers another system, via subprocesses, and waits for the other system to complete. That system on startup prints a link for the status page of that system to stdout. I'd like to propagate that link to the UI, before the subprocess is finished and the script is done. I can currently see it in the logs element of the app, but it would be nice if I could extract that out separately so users don't have to search around for it in the logs....

Code completion is disabled in workspace settings

Is that because it's an EE feature or did I screw up running lsp? I'm running this myself (mimicking what helm does) in an air-gapped (no internet) environment...