Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Block Until Done Tool

VaishnaviGinni
7 - Meteor

Hi,

 

Can you please help me to understand how blcok until tool works.

Because even though I have use block until it is still running parallelly and giving an error unable to access the file to write because some other tool is using.

6 REPLIES 6
ShankerV
17 - Castor
ShankerV
17 - Castor

Hi @VaishnaviGinni 

 

To add one more important point, it needs to be added at the right place to get the expected result.

Can you attach the workflow, so could check where it went wrong.

 

Many thanks

Shanker V

DavidSkaife
13 - Pulsar

Hi @VaishnaviGinni 

 

DavidSkaife_0-1670594827728.png

It will run all data through output 1 first, then output 2, and finally output 3. If you have other streams within your workflow that are not an outcome of the block Until Done tool then they will still run.

 

Do you want to share your workflow and/or screenshots and we can help further?

ShankerV
17 - Castor

Hi @VaishnaviGinni 

 

Just now resolved one query related to Block Until Done.

 

Hope you are also encountering the same issue.

Please have a look on the below. Will help you to resolve.

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Unable-to-open-file-for-write/m-p/1047...

 

 

Hope it helps to resolve your issue. Feel free to mark helpful answers as a solution, so that future users with the same issue can find them easier!!!!

 

Many thanks

Shanker V

TonyaS
Alteryx
Alteryx

If you are using AMP Engine and your workflow has multiple branches with multiple inputs, you need to put the BUD in the branch with the lowest numbered input tool ID. 

Here is the documentation page that talks about that: https://help.alteryx.com/current/designer/alteryx-engine-and-amp-main-differences 

It is toward the bottom of the page:

Parallel Branch Execution and Tool Run Order

Some workflows read from a file and then write back to it. This requires sequencing to ensure that the read is complete before the write can start. Similarly, a workflow that wants to write several sheets in one XLSX file needs to write the sheets one at a time. Alteryx Designer provides a Block Until Done (BUD) tool to help partition the work into phases that won’t get in each other’s way.
Same workaround is applicable for Email tool when you use output file(s) from previous branch(es) as attachment. You need to wait once data processing is complete and then add as attachment to the Email tool.

When you work on a workflow with multiple branches (largely separate streams from inputs to outputs), place the BUD tool in the workflow branch with the lowest numbered Input tool ID. This ensures every subsequent branch waits to run until the previous branch is done and the tool works as expected.



Tonya Smith
Sr. Product Manager, cloud App Builder
EdP
Alteryx
Alteryx

Additional suggestions can be found here:  

 

Ed Phelps
Sr CSE
Alteryx
Labels