12-11-2017 07:02 AM
after i am doing a file read snap and map the documents via mapper snap is there a way to get the total number of documents on the next snap? I basically need to perform a router and need the path/output of all the documents to go 1 way if there are < 500,000 rows/documents. otherwise go down another path/output >=500,000. how can i achieve this?
12-11-2017 12:11 PM
Matt, the snap.inputViews function may help with this.
10-31-2022 02:02 PM
Just adding flavor. snap.inputViews.inputviewname.count.toString()