>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #663
Update issue details
Title *
Description
curl 'https://highway.rodmena.app/api/v1/workflows' \ -X POST \ -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0' \ -H 'Accept: */*' \ -H 'Accept-Language: en-US,en;q=0.5' \ -H 'Accept-Encoding: gzip, deflate, br, zstd' \ -H 'Referer: https://highway.rodmena.app/workflows/create?tab=dsl' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImZhcnNoZWVkLmFzaG91cmlAZ21haWwuY29tIiwidGVuYW50X2lkIjoiX3BsYXRmb3JtIiwiaWF0IjoxNzY2NTIyMDgxLCJleHAiOjE3NjY2MDg0ODF9.dVelcL8ZwDMwcmFb9GBapea5_TbdGHF_ov2DqCK-LSQ' \ -H 'X-Tenant-ID: demo' \ -H 'Origin: https://highway.rodmena.app' \ -H 'Connection: keep-alive' \ -H 'Sec-Fetch-Dest: empty' \ -H 'Sec-Fetch-Mode: cors' \ -H 'Sec-Fetch-Site: same-origin' \ -H 'Priority: u=0' \ -H 'Pragma: no-cache' \ -H 'Cache-Control: no-cache' \ -H 'TE: trailers' \ --data-raw $'{"python_dsl":"\\"\\"\\"Simple Hello World workflow - the most basic example.\\"\\"\\"\\n\\nfrom highway_dsl import Workflow, WorkflowBuilder\\n\\n\\ndef get_workflow() -> Workflow:\\n \\"\\"\\"A minimal workflow that prints Hello World.\\"\\"\\"\\n builder = WorkflowBuilder(name=\\"hello_world\\")\\n\\n builder.task(\\n \\"say_hello\\",\\n \\"tools.shell.run\\",\\n args=[\\"echo \'Hello, World\041\'\\"],\\n )\\n\\n return builder.build()\\n\\n\\nif __name__ == \\"__main__\\":\\n workflow = get_workflow()\\n print(workflow.to_json())\\n","queue":"highway_default","tenant_id":"demo","execute":false}' this retuens a workflow definition, but fetching the list of workflows doesn't show it up. it only shows sleepig/running/completed. this needs investigation
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Won't Do
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel