Using loops on a tool inside a Workflow

Hi everyone,
I’m creating different tools with the goal of use them inside a workflow.
I would like to know if using a list with some ids it would be possible to have a loop in the workflow that runs a tool over each id (I need their output to be separated and not inside a single table).
Thank you for the help.

Hi @Andrea_Furlani,

It sounds like you might be able to achieve that with collections. Have a look at this tutorial: Using dataset collections

Concretely, you could split your list of IDs to a collection using this tool. If you need the IDs as tool parameters, rather than datasets, you could use the ‘Parse parameter value from dataset’ tool (only accessible in the workflow editor).

Hope this helps, feel free to respond with any further questions.

Best wishes,

Simon

2 Likes