Workflows
Search filter terms
Filter by type
Filter by tag
Filter by user
Filter by licence
Results per page:
Sort by:
Showing 3 results.
Use the filters on the left and the
search box below to refine the results.
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
TestIteratorStrategy_withCloning
(2)
This workflow implements a strategy for this problem:
> I would like to perform an iteration including a dot product between
> a list and a list of lists; example:
> Input:
>
> [1] (1)
> [A,B,C] (2)
> [[a,b],[c,d],[e,f]] (3)
>
> Desired output:
>
> [1Aa, 1Ab, 1Bc, 1Bd, 1Ce, 1Cf]
In this implementation a java beanshell is used to clone the items in list 2 as many times per item as there are items in the sublists of list 3. The iteration stra...
Created: 2007-11-29 | Last updated: 2007-11-29
Credits:
Marco Roos
Results per page:
Sort by: