AnsweredAssumed Answered

Variable passing in switch case

Question asked by Pradeep Jha on May 1, 2019
Latest reply on May 6, 2019 by Johan Hammink

I m new to pentaho,I m reading a text file and it has record which contain header as date and file name.

FIle format is something as

H22042019EMP

asalsakslaks

asasasasas

 

header is 22042019EMP and then details records, now I want to direct header to some other text file and detail to other.I have use switch case with contain option based on date.

Here I am passing date as variable which I pass when I execute the transformation.But some how it is not able to direct that header record to other file.When I hard code the date then it work perfectly.Please suggest

Outcomes