Skip to main content

I am essentially looping through httpcaller results and need a way to pass a value from the last record returned in a loop, I dont know how many records will be returned. I was using the stats calc to get the max value but that is blocking the loop from running within the one workbench. Does anyone have any suggestions, thank you

I tried - https://community.safe.com/s/question/0D54Q000080hSVsSAM/how-to-filter-a-csv-file-based-on-the-last-row-in-fme but feature holder is a blocking transformer so no luck there


Use the sampler with it set to "Last N Features"


Use the sampler with it set to "Last N Features"

thanks but unfortunately I get - Input Splitter (BranchingFactory): Transformer/Factory GetMembers_Sampler is blocking and cannot be used in a loop, but was found between... so the sampler is a blocking transformer for this loop as well.


To use blocking transformers in a loop, you need to have a linked rather than embedded custom transformer. The loop input will also have to be published (really annoying, I generally call it LoopInputDoNotUse)


To use blocking transformers in a loop, you need to have a linked rather than embedded custom transformer. The loop input will also have to be published (really annoying, I generally call it LoopInputDoNotUse)

thanks, I went down this route as I dont think it is possible without blocking transformers.


Reply