Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get scheduled run status? #1304

Open
parnexcodes opened this issue Mar 6, 2025 · 0 comments
Open

How to get scheduled run status? #1304

parnexcodes opened this issue Mar 6, 2025 · 0 comments

Comments

@parnexcodes
Copy link

I created scheduled run using the api /api/v1/tenants/tenant_id/workflows/workflow_name/scheduled

and I got this response
{ "additionalMetadata": {}, "metadata": { "createdAt": "2025-03-06T10:15:55.901Z", "id": "747878e4-e450-440b-aa78-bfadcf236719", "updatedAt": "2025-03-06T10:15:55.901Z" }, "method": "API", "tenantId": "707d0855-80ab-4e1f-a156-f1c4546cbf52", "triggerAt": "2025-03-06T10:16:14.006Z", "workflowId": "87dba9e2-dafd-45db-a2f2-1b84cd6d84e5", "workflowName": "scheduled-circuit-execution", "workflowRunCreatedAt": "0001-01-01T00:00:00Z", "workflowRunName": "", "workflowRunStatus": "", "workflowVersionId": "e24b1cff-3a1b-455c-963f-e80ddf600e05" }

However on shape api, it's using some different id which is not present here. Whereas when running a job without scheduling returns an ID which can be used to poll the status (using the same shape api).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant