Hello,
I am struggling with what I am sure is a very simple thing but one that I cannot sort out.
I am using Path to search for specific files in a directory which I then read with the Feature Reader. Thing is, I need part of the path_rootname as an attribute to use forward but I cannot seem to be able and extract it. I created "Year" as per the snips but I don't know how to use it forward. I only get the values from the Generic port but for "Year" I get <missing> for each row.
I can see the "Year" attribute in the <Schema> port (and it shows up correctly) but I do not know how to pass it on to the next transformers. I tried connecting the <schema> port along with the <generic> one but it doesn't work.
I also tried attribute exposer, attribute creator but no luck. Any ideas on why this isn't working? thank you!