[ 
https://issues.apache.org/jira/browse/NIFI-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157033#comment-15157033
 ] 

Joseph Witt commented on NIFI-1544:
-----------------------------------

Hello

Ignore my guidance about ${date} - that was definitely wrong.

I've attached a template that I believe follows what you were trying to do and 
a sample input file.  I was able to validate that the correlation attribute 
(date) is retained after the merge.

I'm going to close this ticket out but happy to keep the conversation going.

Thanks
Joe

> [MergeContent Processor] Correlation Attribute should be available to next 
> processor
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-1544
>                 URL: https://issues.apache.org/jira/browse/NIFI-1544
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.4.1
>         Environment: unix, nifi-0.4.1 compiled with hadoop-2.4.0
>            Reporter: Shekhar Bansal
>            Priority: Minor
>
> My workflow:
> ListFiles
> FetchFIles
> SplitFIles
> ExtractText - Extract "date" from records
> MergeContent - Correlation Attribute=date
> UpdateAttribute - outputDirecoty=/data/output/${date}
> PutFile
> Problem is date is not available in UpdateAttribute processor.
> Since all the records in a particular flow have same date, it should be 
> available in UpdateAttribute processor.
> Because of this issue I have to read merged flow again(only first record).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to