Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Unable to create backup

edavies
8 - Asteroid

I have been trying to export two sheets into one excel file using two different data sources.  I am unable to because it's writing to the file at the same time.  BUD is not appropriate here, as I'm using two different data sources.  I've also looked at other threads and have been unable to implement any of the python tools/scripts to basically tell my workflow to "wait" in middle of the stream.  Does anyone have any good suggestions here, so that I don't have to break this workflow up into two separate workflows?  

6 REPLIES 6
OTrieger
12 - Quasar

@edavies 
Parallels Block Until Done, Or Block Until Done or Control Container all will do what you need, it is your choice which one to use.

edavies
8 - Asteroid
 

@OTrieger I'm still experiencing the same issue even after using the control containers...  do you have any tips based off of the sequence in my screenshot and the setup of my tools?  Appreciate your help!

 

abacon
7 - Meteor

Does having 2 BUD tools not work? And if not, have you tried turning off AMP engine?

Qiu
21 - Polaris
21 - Polaris

@edavies 
If I understand your intention here correctly.
We can some discussion here about writing data to different sheets of one Excel from different data source.
Point here is to use the Count Record tool to link the data source so they can get into a waiting line. 😁

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Inputting-3-sheets-from-1-work...

rfoster7
11 - Bolide

I'm surprised that doesn't work. Looking at your screenshot it should the way its configured. So I'm guessing there's something else I can't see going on outside of your screenshot. I set up my own test following your screenshot and it worked for me. 

 

On older versions of Alteryx, we discovered this trick which might work for you. Using multiple block until done tools, outputting through the 2 or 3 output on each, this lets us write data to the same workbook but different sheets without running into lock issues. 

 

 

Screenshot 2024-10-03 165300.png

 

 

The trick to this working is that each block until done tool and output tool pair needs to have toolID numberss greater than the ones above it. So you need to create the first two, then the second, and so on. I don't know why this works, but it has to do with how Alteryx processes tools in tool ID order as much as possible. You can see what the toolID number is on each tool by clicking on it and looking in the upper left corner of the configuration panel. 

 

 

If you still can't get that to work, then download the Parallel block until done tool from the CReW macros. It does exactly what you are trying to do but isn't compatible with the AMP engine/Control Containers like the standard Parallel Block Until Done tool. 

edavies
8 - Asteroid

I logged on today and now it's working... I'm not sure why, I didn't change anything, but we are all good now.  Thanks to all that contributed.

Labels
Top Solution Authors