Reviews (0)
For Workflow: CloneItemsInList
CloneItemsInList (1)
Utility workflow that clones an item copy_number times. You can use this to work around standard iteration strategies, e.g. in combination with the CountListItems workflow.
Workflow examples: TestIterationStrategy_withClones. For an alternative approach see TestIterationStrategy_withNesting.
Example I/O:
input: A
copy_number: 3
result: [A,A,A]
input: [A,B,C]
copy_number: 3
result: [[A,A,A][B,B,B][C,C,C]]
input: [A,B,C]
copy_number: [3,2]
result: [[[A,A,A],[A,A]][[B,B,B],[B,B]],[[C,C,C],...
Created: 2007-11-29
Credits: Marco Roos