I am developing a workflow to grab data from a variety of sources, restructure it and load it to a local SQL server followed by a call to a SQL stored procedure to perform some calculations based on the newly loaded data, then bring the results back into Alteryx for further processing. Where I'm having difficulty is in scheduling the SQL stored procedure to operate after the data has been uploaded in full.
I have experimented unsuccessfully with the Block Until Done tool, given it will not wait until the full upload has been completed before commencing the stored procedure. Similarly, I can play around with the Wait A Minute tool but would regard it as a sub-optimal solution. With the size of the data set potentially varying considerably from day-to-day it will be difficult to nominate a single time to wait without waiting unnecessarily for long periods on many days of the week.
My reading of similar discussions is leading me down the path towards a macro involving regular status checks with the SQL server to determine if the upload has completed. Before I go down that route I'd like to explore any simpler options first. Can anyone suggest any simpler alternatives ?
Any ideas are welcome.