Hello folks,
I have been trying to find a solution for my problem and I have tried generic "Block Until Done", then CReW Macros "Parallel Block Until Done" but still haven't resolved it.
So, what is the point?
As you can see from the picture, I have multiple input connections split in two containers ( 1 and 2).
Now, when I run the flow all Inputs start at the same time and this is my problem. I would like to "split" reading/loading data in two sections.
So, is it possible when I run the flow to load the data from container 1 and when it's done, then start with reading/loading the data from the second container?
Thank you in advance.
Solved! Go to Solution.
Hi @cito ,
This is interesting because they both run in parallel until the union. The easiest way around this is to put the second container and everything after it in a macro. Then feed the output of the first container into the macro with a block until done before the macro. This means it will load everything from the first container before proceeding to the macro, whereupon the second container will be triggered.
This is the easiest way of achieving this.
M.
Hi @cito
Its great that your are using CREW Block until done its better than normal one. Here is what you can do, you need to control input flow. Instead of using normal input tool use dynamic input tool. Layout like below.
Use CREW block until done not normal. This way you can read files in a sequence. The paths to dynamic input are passed from the text input tool.
Hope this helps 🙂
Hello @mceleavey - not sure if I understood you correctly, but how did you mean to put the second container in the macro since I do not have "IN" anchors there?
Thanks.
Hi @cito
Did you give the above dynamic tool approach a try. Did it work ? if not, what were the issues 😅
PS: dynamic input tool works for DB connection too. Just saw your file they were DB connections😅
@atcodedog05- what does mean "Paths" here and how to populate it? 🙂
Hi @cito
In your scenario it might be SQL queries 🙂. The SQL query is passed to dynamic input tool.
Tool doc : https://help.alteryx.com/current/designer/dynamic-input-tool#:~:text=Use%20Dynamic%20Input%20to%20re....
@atcodedog05I did not understand your approach to be honest, actually the start of the process I don't understand - what do I need to put in "Paths"?