cancel
Showing results for 
Search instead for 
Did you mean: 

Router not routing?

wpenfold
Contributor

I have a simple pipeline where I’m using Router to decide if an oracle procedure should be called. Even if I just set the router expression to false for the output0 view, the output0 snap (the oracle procedure), is still being executed. I’ve tried resetting my workspace. Is this a bug?

10 REPLIES 10

Thanks, I’ll do that…any insight into why the gate snap is being executed if the router condition is not met?

Regardless of the number input documents received by the gate snap, it will always produce a single output document.

del
Contributor III

I wonder if if might be a good idea to have a future version of the Gate snap include something similar to the image flag like the formatter snaps - giving pipeline developers the optional behavior.

We will add this option to the gate snap in the February release.

del
Contributor III

Thank you very much for adding this feature!. Even though I know the current behavior, I keep forgetting about it and running into cases where I accidentally trigger downstream snaps with undesired consequences.