โ04-03-2018 08:14 PM
Is there a way to get a list of all assets that are not directories? i.e. not type โDirโ?
I tried to do this by looping over a โSnapLogic Listโ snap to recursively navigate down through the directory paths (refer below) but it results in a stack overflow.
I know I canโt use โPipeline Executeโ for the pipeline to call itself since recursion is not supported.
I suppose I could just use assume the path depth will always be at most three and use three separate โSnapLogic Listโ snaps, but this seems quite hacky.
Any other ideas?
โ04-04-2018 12:09 PM
Just created this pipeline to show all non-Dir assets. Does this work for you?
โ04-04-2018 04:32 PM
Thanks Alan, I appreciate your response and for putting that together for me. Thatโs the three separate โSnapLogic Listโ snaps approach I was trying to avoid, but I suppose itโs as good as we can get for now.
Cheers