Teradata · Arazzo Workflow
Teradata Submit Query and Poll for Results
Version 1.0.0
Submit a SQL query, poll its status until it completes, then branch on success or failure.
View Spec
View on GitHub
AnalyticsCloudData ManagementData WarehousingDatabaseEnterpriseMachine LearningSQLFortune 1000ArazzoWorkflows
Provider
Workflows
poll-query-results
Submit a query and poll its status until it completes, then branch on the outcome.
Opens a session, submits the SQL statement, polls getQueryStatus on a loop while the query is still running, and routes to a completed or failed terminal step based on the final status.
1
openSession
Create a query session against the requested system.
2
submitQuery
Submit the SQL statement for execution and capture the query identifier so its status can be polled.
3
checkStatus
Retrieve the current status of the submitted query. While the status is still running the step loops back on itself; once the query is no longer running it routes to the completed or failed terminal step.
4
returnResults
Re-read the finished query to return the final result rows once it has completed successfully.
5
reportFailure
Re-read the failed query to surface the error message for the caller.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.