How to stop a plan if certain condition is met?
In this Tips & Tricks post, I will show you how to configure a plan to evaluate your data and make a decision on whether to continue processing your data as planned or to stop processing data and exit the plan safelyΒ without the plan throwing an error.In this scenario we will generate a data set consisting of 1 column and 100 records. The column will have either a true or false value. Weβll have a business rule that checks the values of the 100 records and stops processing the data if at least one false value is found in the data stream.Β Β Letβs prepare the data pipe initial so that we have input and output data flows.Starting with a blank .plan file we will add a Text File ReaderΒ step to store our results and a Random Record GeneratorΒ step to generate the 100 records.Weβll configure the Random Record GenerateΒ step to create 1 column named value, and to create the values