I have a scenario that has a few modules before a router. I do not need these modules to repeat, simply exist once and be referenced by the rest of the scenario. However, they repeat A LOT of times, which uses up credits and also creates an error because the app I am using limits requests. Help?
this is a custom integration between Bloomerang and Xero. Blueprint attached. I’m hoping there is some direction i can insert between the first array aggregator and the first router so that it doesn’t keep coming back to module 187 and looping.
Bloomerang, Xero - LT USA.blueprint.json (748.4 KB)
Hey Alexa,
Can you shar screenshots of what a run looks like and what output the modules are producing?
Hi Stoyan - This is an extremely large scenario. The outputs are all working correctly, I’m just wondering how to prevent it from looping back to the beginning after the first router. I simply need to reference the outputs in the first few modules without it doubling the number of credits needed.
Can you show at least some screenshots of the modules in question?
From your explanation it sounds like you have a search module or an iterator or something producing extra bundles causing additional executions.
Sure thing - yes, there is an Iterator, but I believed it was necessary to generate the information I need in the first place. Perhaps that’s not right?
This first image is the part before the first router that really only needs to happen once.
This is the entire scenario.
What is the first module returning as output?
Thanks so much for your patience with me & your willingness to help - here is the output of the first module. I’m also including outputs for the next 3 (that first section before the router) in case that is helpful as well.
Bloomerang trigger, first module: OutputBloomerangModule.txt (22.0 KB)
The second module in the scenario, Xero Search Tracking Categories, only needs to run a single time but is looping through.
OutputXeroSearchTrackingModule.txt (27.2 KB)
The third module I’m skipping because it’s a sleep module.
The fourth is the iterator that is perhaps causing issues?
OutputIterator.txt (6.4 KB)
Final module in that string: array aggregator.
Outputarrayaggregator.txt (6.0 KB)
Hello it looks like perhaps you may not need an iterator. Make automatically iterate through each output bundle on its own. Unless there is an array within each output bundle that you want iterated through you probably do not need an additional iterator as that will keep running through each bundle, then move onto the next one.
Perhaps you need to limit the number of bundles returned which would cut down on the repeats.
You may need a specific filter between the Xero app and the next module that would only continue if a specific condition is met.