I was looking into nifi examples and I am getting the below error.
I am trying to split this date
I am getting my expected results. Not sure why I am getting the error and warning.
I believe your flowfiles having source-date1 attribute with value 20181119112100.
Then change your update attribute property values as
Then update attribute adds these flowfile attributes for all outgoing flowfiles from UpdateAttribute processor.
In addition you can also perform same kind of operation without extracting as attributes using QueryRecord processor.
Configure/Enable Record Reader/Writer controller services and use apache-calcite's Substring function to create source-date,source-time columns in the flowfile.