Workflow json generation bug
# support
m
When creating a workflow with an edge with a condition, the json generated from the workflow is missing the condition. This can be verified by downloading the json of the workflow and then reuploading it. All of the edge conditions will be missing. If conditions are manually added to the json, they appear correctly when reuploaded to the server, so it's just a json generation problem.
p
Could you please share the json generated? We would like to look into it further
m
Sorry I just remembered this post
The json I got was this: { "name": "Json", "nodes": [ { "name": "introduction", "type": "conversation", "isStart": true, "metadata": { "position": { "x": -400, "y": -100 } }, "prompt": "You are a helpful assistant", "messagePlan": { "firstMessage": "Hey there!" } }, { "name": "conversation_1751237360208", "type": "conversation", "metadata": { "position": { "x": -400, "y": 150 } }, "prompt": "", "model": { "model": "gpt-4o", "provider": "openai", "maxTokens": 250, "temperature": 0.3 }, "messagePlan": { "firstMessage": "" } } ], "edges": [ { "from": "introduction", "to": "conversation_1751237360208" } ], "globalPrompt": "" }
If I upload that json, I get the same thing, but with an edge with no condition
p
Could you share a loom recording for generating the JSON? I was unable to reproduce the issue on my end, as I was able to generate a JSON with the edge conditions intact from the dashboard.