You both helped me with the hierarchy transaction building workflow, and I tested this today first time with real live data.
Result of running the workflow was 1.4 million iterations and a runtime on 20-30 hours (estimate) I don’t see any way of making this to run faster, but would either of you have any ideas?
Yes that is rather a lot of iterations for a loop! I was trying to remind myself how this all worked, and then I noticed something I think I overlooked in the original.
Add two Duplicate row Filters at the position shown here:
The pair of Joiner nodes had caused duplications to occur which I hadn’t spotted. By removing those duplications the cross joiner comes down to 109000 rows instead of 1.4 million. That should at least reduce the time down to 10% of the original estimate, which is a start :-).
On my pc it is taking around 40 seconds to perform 1000 iterations, so if it maintains that it is 109 x 40 seconds = 70 ish minutes.
If I can think of anything else I’ll let you know.
It looks like the config of the Loop End needs modifying too as it needs to be set to !Generate New RowIDs" or it can fail (you may already have discovered this after an hour of processing!)