cancel
Showing results for 
Search instead for 
Did you mean: 

How can I throw a custom error if the filter snap lets through no records?

vgautam64
New Contributor III

My pipe has a filter snap. I want to design it in a way that it throws a custom error when the filter snap does not let through any records.

5 REPLIES 5

smudassir
Employee
Employee

After filter snap, you can have a script snap. In the script, if the input doc count is zero then u can throw a custom error.