Trouble with Call Workflow Service node

I am having trouble using a Call Workflow Service node.

I have a workflow (Workflow A) which is outputting to a Workflow Service Output node. When I run Workflow A it completes with no errors, but when I try to call it from a separate workflow (Workflow B) it constantly fails.

Initially I get the error below:

Execute failed: Failure, workflow was not executed, current state is IDLE. Empty Table Switch 4:43: Node created an empty data table.

My original flow does use the Empty Table Switch node, but it is behaving exactly as it should, i.e. outputting an empty table when the input table is empty.

For testing purposes I removed this switch from Workflow A and re-ran workflow B. I now get the error below:

Execute failed: Failure, workflow was not executed, current state is IDLE. ROOT : IDLE (start) ROOT (end)

It’s worth noting that in both cases the Workflow Service Output is before the empty table switch in Workflow A.

Once I have the error in Workflow B if I try to reconfigure the Call Workflow node I get this error:

I’m new to Knime so I have no idea where to start with these errors. My use case requires calling different workflows so if this doesn’t work then Knime becomes useless.

Workflow A is shown below. Note that I haven’t finished building the workflow so the right hand side is incomplete (but executes perfectly.

Edit:
I figured it out. It was an issue caused by some additional flows not shown above. Taking them out fixes the issue. Nothing to do with the empty table switch though.

3 Likes

Welcome to the forum @anthony_moore24.

I’m glad to hear that you were able to resolve the issue.

Best,
Keerthan

1 Like

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