Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Waiting until API is finished

$
0
0

In my workflow I'd like to send the datastream to a server with a REST API to process and further analyze the data. Since the processing can take quite a while, the API does not directly send back the results, but only a job ID. Manually, I would check a different endpoint where I receive the current status until the status is "finished" and then go to a third endpoint where I get the final results of the analysis. So, I have three different API endpoints I use to send the data, check the status and receive the results.

 

My first setup would include two workflows: The first one prepares and aggregates the data and sends it to the server. The second is started when I know that the analysis has finished and only fetches the results back from the server.

 

However, I'd rather have only one workflow which I start, which sends the data to the server, and waits until the results are finished and further processes the results. Unfortunately, Alteryx does not support any kind of loop as far as I know. Is there any macro or workaround I could use? I'd like to go without Python as the workflow is run on a different machine that will not have Python installed.


Viewing all articles
Browse latest Browse all 4999

Trending Articles