cancel
Showing results for 
Search instead for 
Did you mean: 

Preview not available for Flow snaps

darshthakkar
Valued Contributor

Certain flow snaps like “Filter”, “Head”, “Tail” when used in a complex pipeline doesn’t generate a preview while validating the entire pipeline however these generate a preview if the pipeline is simple.

For instance, if I’m trying to read data from an excel file with 100k+ records and use either ‘filter’ or ‘head/tail’, I can see the preview when the pipeline has been validated but it doesn’t generate one when the pipeline is huge. Any specific reason behind this?

I would want to see the preview as the pipeline that I’m currently developing is a complex one (multiple snaps prior to “flow” snaps), thereafter it needs a ‘filter + head/tail’ (i.e. flow snaps) and then it will again require a bunch of other snaps after those ‘filter + head/tail’ making it complex again.

Help on this matter would be highly appreciated.

Regards,
Darsh

1 ACCEPTED SOLUTION

What @dmiller probably meant, is, that the 50 records validating doesn’t meet the criteria in the filter.

Try increasing the preview count.

I’m pretty sure there’s nothing wrong with the Filter snap, and to prove that, you can try and add true as a filter expression and re-validate. You should see all 50 records passed through.

View solution in original post

12 REPLIES 12

Where did you put the condition as TRUE?

@amit.saroha: Condition = True was kept in the filter snap. If you’re following the thread, the snap after finalOutput is the filter snap (that’s where the condition was put).

stevegoodwin
Employee
Employee

Also, you can always change the number of records the platform processes during validation:
Screen Shot 2022-04-11 at 12.35.38 PM