Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Block Until Done Tool - How to get Input to run first?

hike44
7 - Meteor

Part of my flow requires that a join be done with an external file (it has previous week's values).  After that join is done, that file will be overwritten with new values (current week).


However I need to make sure that the Input runs first to bring in these values, before the output (overwrite) happens.  I tried using the Block Until Done tool, but it doesn't seem to be working.  The Output tool runs first and overwrites the file before Input tool runs.  


How do I correctly set this up?

 

hike44_0-1642705731072.png

 

2 REPLIES 2
jrsheppard
7 - Meteor

The block until done is only holding the records from processing from the top join until all records have finished processing from that join.  It doesn't mean that it will stop the flow of records from the bottom input.  Since Input / Output aren't directly connected, it won't work as intended.  You can try to use a throttle tool on the output - but that just slows down the processing of records.

 

The easiest way to fix the issue is to write to a different source.

hike44
7 - Meteor

I used a work around that solved for my specific use case but may not work for everyone else.

 

I added a Select tool after my final Join to specify the fields I needed and then did the Output.  This seems to have done the trick for my flow but I can definitely see other scenarios where this might not work and a true Block Until Done solution would be needed.

 

 

hike44_0-1642711414670.png

 

 

 

 

Labels