Dears,
I am using GenerateFlowFile processor to pass month and year information.
The format in which we are passing custom text in GenerateFlowFile is as follows:
month|year
may|2023
Our requirement is, if user enters month and year information it has to be validated.
For example, he has to provide valid information like may,2023 but apart from this if he provides any other invalid information other than month and year attributes it has to through error.
How can we achieve such constraints or validation?
Thank you!