vinzceV
Windmill3mo ago
vinzce

Step input inconsistency in flow Claude Code generated

Hi Windmill,
I have generated some python scripts and flow with the help of Claude Code. After deployed on the remote workspace (wmill push), scripts and flow work as expected.
But when I want to edit the flow in windmill app, the steps input are strangely configured and when run, the first step exit with an error.
In the yaml of the flow I see where is the problem but don't find how to fix it even modifying the yaml file.

When the source yaml is :

modules:
- id: extract_data
value:
path: f/xxxxxxx/extract_data_from_ebp_gc
type: script
input_transforms:
sql_server_connection:
type: javascript
expr: flow_input.sql_server_connection
customer_query:
type: javascript
expr: flow_input.customer_query
saledocument_query:
type: javascript
expr: flow_input.saledocument_query
days_ago:
type: javascript
expr: flow_input.days_ago
document_number:
type: javascript
expr: flow_input.document_number

the draft is :

modules:
- id: extract_data
value:
path: f/xxxxxxx/extract_data_from_ebp_gc
type: script
input_transforms: {}

And when the source yaml is :

- id: import_customers
value:
path: f/xxxxxxx/import_ebp_gc_data_to_nocrm
type: script
input_transforms:
file_type:
type: static
value: Customer

the draft is

- id: import_customers
value:
path: f/xxxxxxx/import_ebp_gc_data_to_nocrm
type: script
input_transforms:
file_to_import:
type: static
file_type:
type: static
value: Customer

Windmill version is CE v1.567.3-10.

Thank a lot for helping me to understand and fix that.

Vincent
Was this page helpful?