I have an asynchronous REST call, which first sends the query (POST) to the server and returns the task id. Then I need a loop (GET) which regularly checks the jobstatus. This can be solved easilty with Create Empty Data and this works well. Because the REST server can handle multiple queries at time, I wanted parallelize this. However, if parallelized the Create Empty Data does not work at all. I use the @jobstatus global, which is local in the scope of the parallelized component, so it should not clash. I have a local #Count and #MaxCount variable within the Create Empty Data.
Initialize Condition looks like: @jobstatus := 'running'; #Count := 0; #MaxCount := ceiling(@Delay*10000);
Condition looks like: #Count++; #Count <= #MaxCount and @jobstatus eq 'running';
WhenToGenerate is OnNoMoreData
And ProcessDataAction is: PassData
Can you please help?
