โ04-15-2022 03:37 AM
Hi Team,
I have designed pipeline to make recursive calls using pipeline execute snapโฆin one scenario i got an error at the 64th iteration tat it โโcannot execute any more child pipelinesโโ and i found in pipeline execute snap documentation that it cannot exceed more than 64 depth b4 they begin failingโฆ
But wen i executed the same pipeline after a weekโฆits taking 150 iterationsโฆhow is this possibleโฆ
โ04-15-2022 11:19 AM
Hi @koryknick - My scenario is I have to load all the data from the given data source. The maximum records it can send me in one iteration is 50k(its configurable)
I have designed pipeline in such a way,
pipeline XYZ first invokes the backend using soap execute snap, which returns 50k records in first iteration and I have used router snap to check the condition if the record count is less than 50k then i stop the pipeline else I invoke same pipeline XYZ within itself โฆ(XYZ calling XYZ) until the condition is metโฆ
This recursive invocation rytโฆ
โ04-15-2022 11:30 AM
@Noushin - thank you for confirming that you are doing recursion.
Can you provide the RUUID of the parent pipeline that executed 150 deep? Iโm going to see if someone from the platform team can take a look since it doesnโt correspond with our documentation or my experience with recursion.