Router with more that 2 conditions

Hello ,

I am creating a pipeline that should fetch the filetype from the expression libray file and based on the filetype it should write the file. But I noticed that though the condition written in the router is correct, it is routing to multiple path. For example as per the condition, it should only take the second path but all below paths are getting executed and as a result instead of single multiple files are written.
Could someone help me to understand the router behaviour here.


@Gayathry please select ignore empty stream option for all formatter (csv, json and excel). It should work


Thanks for your quick reply. It worked.