Shenanigans
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
6 replies
Cannot convert between String and JSONB in PostgreSQL
Given the following json object below,
I would like to update a record in my postgresql database of type
jsonb
using a postgresql script such as below:
I am unfortunately unable to get this to work as Windmill interprets my inputs as either an actual JSON object or a string if wrapped in quotes.
i.e. If my input is "['ABC','DEF','GHI']"
, I get the following error message below
Otherwise, I get the following error:
1 replies
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.
Followed by accessing the log of the flow on its page under the history section on the sidebar
4 replies
[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:
I have also tried casting via
But I encounter the following error:
Windmill Version:
Windmill EE v1.491.5-27-gdfd8c4cd2
15 replies
Flow States are shared among for loop iterations running in parallel
Back again(sorry 😅). Not sure If its the intended operation, but It seems flow states are not unique between for loops running in parallel. The flow state values are shared across multiple iterations.
Version:
Windmill EE v1.483.2-3-gc4148d775
4 replies
JSON[] Postgres type renders as string with extra brackets
Hello, not sure if my title explains the issue well, but I am using the database studio with postgre db. My column types are in
JSON[]
.
The studio renders the following ({"{\"fieldA\":{\"Size\":2.4},\"title\":null,\"width\":48,\"height\":32,\"quantity\":1,\"date\":\"2025-03-29 02:56:02.000000 +00:00\",\"itemNumber\":1,\"itemsTotal\":1,\"item1\":\"1234\"}"}
) in the columns with JSON[]
type.
Parsing this result via JSON.parse()
in scripts/flows yields the following error:
I had to change the db schema to JSON[]
as I encounted an error where the brackets around my object weren't interpreted properly
Is there a way/setting I can apply to solve this?
Thank you
Windmill Version: Windmill EE v1.483.1-18-g444a6abad
2 replies