Ask Your Question

"Stage has open output streams" while it is connected...

asked 2019-03-19 08:31:23 -0600

philfr49 gravatar image

updated 2019-03-19 10:11:09 -0600

metadaddy gravatar image

Hello, I try to do the following pipeline:

  • query a rest API with a "problem" to solve, which can take some time so it is asynchronous: it returns an ID, which then I use later
  • query in loop a rest API with the ID to get the status of the job, until the status is SOLVED
  • then query the rest API to get the solution for that job.

The error is on the Stream Selector, although the "2" output is connected to the previous "HTTP client (/jobs)", the stream is not very visible (in blue)...

image description

I don't understand this error, or maybe this is not the good way to do a loop ? Thanks !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-19 10:16:34 -0600

metadaddy gravatar image

Unfortunately, the error message is not very clear - loops are not allowed in pipelines - it must be a 'directed acyclic graph' (DAG). You should use a script evaluator (Groovy/JavaScript/Jython) to implement the loop.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-19 08:31:23 -0600

Seen: 489 times

Last updated: Mar 19 '19