Forum Discussion
Hi @acesario,
The Gate Snap is designed to always have a single output document produced regardless of the number of input documents received.
Interesting. So you have to filter it to prevent an error? Works, just unexpected.
THANKS for the quick answer!
- cjhoward186 years agoEmployee
What is the error you are seeing?
There are use cases in which the snap was designed for where some snaps may not produce an output document for certain cases. However, when the snap is complete the execution can continue to flow to the rest of the pipeline using the Gate snap directly after a snap that completed, but may produce no output document. This is to ensure an output document is produced to drive the rest of the pipeline execution no matter what once the upstream snaps have completed.
- acesario6 years agoContributor II
Just an error in a downstream snap that the mapped variables are missing - as expected. The filter removed these errors, so i’m okay with this workaround.
Thank you