Hi everyone,
I am new to Alteryx and still learning some tools. I am writing some tests for the workflows. In one of the workflow I need to make sure that the tableau template is fully uploaded to the tableau server and only then the API call to the server is made. For example, if a template takes 1 sec to upload then API call should be made immediately after 1 sec. This timing is ofcourse random so I simply can't use "Wait a second" tool as it would be inefficient to set long duration (especially for fast internet connections).
I am struggling to find out a way to know that if the entire template is uploaded on the Tableau server so that later I could try out something like WHILE condition to iterate until template upload and break it once its done. I also thought of using "Block until" tool but I don't know that if it also makes sure that the template upload is complete.
I am attaching the testing part where I need first step to be completely done i.e. uploading is complete and only then second one starts i.e. API call is made. Any ideas how this could be achieved? Thank you for helping out
Solved! Go to Solution.
@wtahir what about something like this where you use a block until done followed by a count which is appended to the data stream down below. Then you use the select tool to drop the count column.
Awesome this is what I was looking for, I had a similar solution but without a count. Thank you for your help.
hi @BrandonB I found out that this still exists, on the alteryx server this is still happening. The only inefficient way I found is to add waiting time of 5s to the output anchor "1" of the block until done tool. It looks like block until done tool does not know if the template exists on the webpage. Do you have any other better idea?
I actually wonder if instead, you move the count records to connect to the right hand side of the Publish to Tableau Server tool. That way the Publish to Tableau Server tool would have to finish in order for the number of metadata records coming out of the O anchor on the right hand side to be counted.
Good point. I will try that out and will share my findings
User | Count |
---|---|
106 | |
85 | |
76 | |
54 | |
40 |