Member since
06-23-2021
3
Posts
0
Kudos Received
0
Solutions
06-24-2021
06:18 AM
@MattWho Thank you so much for responding, I want to rename the outgoing file as such "name_timestamp". want to name each file with the following standard "name"+"_"+"timestamp" and the issue is solved after changing destination value from flowfile-content to flowfile-attribute initially it was pointing to flowfile-content and I dont see the custom extracted attributes in attribute section, but after changing to flowfile-attribute, I can see the extracted values in the attribute section thank you very much
... View more
06-23-2021
05:06 PM
I have a processor EvaluateJsonPath processor which is extracting two fields from json file(coming from GETFile processor) which contains { "name": "Jon", "title": "king of the nights watch" } after extracting name in EvaluateJsonPath processor as $.name, I want to to write this data to put file processor but before writing I want to change the name of the file such as name+timestamp, ex: jon_23-06-2021 I have tried updateattribute processor something like {name}_${now():format('yyyy-MM-dd-HH-mm-ss')} but its not working, could some one help me here thanks
... View more
Labels:
- Labels:
-
Apache NiFi