11-09-2021 03:10 AM
How can I allow a pipeline to continue execute/not execute on the basis of the result of expression value of previous snap.
For example: I wan to continue pipeline execution only if there are some records exists in the csv file which I read in previous snaps in the pipeline else not continue execution.
Similarly, I want to check records in a sql table and if count >0 then I want to continue execution else I want to exit.
11-10-2021 12:04 AM
Try $.hasPath('input')
, where ‘input’ is one of the fields you are reading either from the csv or sql.