An item list of workflows to execute confusion

Describe the issue/error/question

Is there a way to use the ‘Execute workflow’ node with a list of IDs to execute ?

I’ve got a list of workflow IDs that I’d like to execute each individually, and I’m storing them in a list. But when I pass that list to the Execute Workflow it only seems to Execute the First Workflow ID with all the data in the list even though the ‘Execute One’ Setting is set to ‘Off’. Which implies ‘if active, the node executes only once with data from the first item it receives’.

image

What is the error message (if any)?

Sends both items only to the FIRST called workflow.

Please share the workflow

Main Workflow *** NOTE You have to alter ‘workflow IDs to Execute’ node for the subsequent IDs of the other workflows *** :

Work FLOW ID 1013

WORK FLOW ID : 1014

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.215.2 , also tried on a month older release with the same result
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: docker self-hosted

Hi @0101binary0101,
you are right, the Execute Workflow node will only execute once sending all input items to the workflow. Did you consider using the Split in Batches node with Batch Size 1 to execute workflows for each item in you list?

2 Likes

@marcus - just trying that suggestion out now - I guess I was misinterpreting what the ‘option’ on the Execute workflow option.

Cool - yeah that’s worked that’s great thanks … btw in the display below I see a ‘?’ where there’s a slack node on the 0.216.0 environment I’m using.

2 Likes

Hi @0101binary0101,
we just updated our workflow preview instance and the Slack node works now. Thank you for mentioning :+1:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.