โ05-18-2023 03:16 AM
we have a snap to get a count from the previous snap, then once we got the count(thereโs only one output), for example, if we got 10, we will need to create 10 outputs in the next mapper, how can we do that? Is there any formula we can use?
Solved! Go to Solution.
โ05-18-2023 03:25 AM
Hello @sdeng,
You can use sl.range() function, to generate an array of elements and then you can map them and split them according to your requirements.
Please refer to the sample pipeline attached below:
โsl-comm-generate-documents_2023_05_18.slp (4.7 KB)
Let me know if this helps you. ๐
BR,
Aleksandar.
โ05-18-2023 03:25 AM
Hello @sdeng,
You can use sl.range() function, to generate an array of elements and then you can map them and split them according to your requirements.
Please refer to the sample pipeline attached below:
โsl-comm-generate-documents_2023_05_18.slp (4.7 KB)
Let me know if this helps you. ๐
BR,
Aleksandar.
โ05-18-2023 03:56 AM
Thanks, itโs working!! ๐