- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Extract text from text message and update the filename
- Labels:
-
Apache Hadoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a websocket on which I receive a text message (listenWebsocket Processor) , I want to put the whole text message as an attribute into the FetchFile processor.
I want to call the value of this extracted attribute in the filepath of the processor? ExtractText works well, the data provenance shows that there's an new attribute after ExtractText has run, but the attribute value is not set into the file path in the FetchFile Processor ?? What's wrong, did I miss some configuration? A custom attribute is called ${attributename} , right?
Thanks a lot for your help
Henriette
Created ‎10-30-2019 03:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The solution is that, after ExtractText I need an UpdateAttribute Processor which stores the attribute from ExtractText permanently.
Created ‎10-30-2019 03:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The solution is that, after ExtractText I need an UpdateAttribute Processor which stores the attribute from ExtractText permanently.
Created ‎10-31-2019 06:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no need for the updateAttribute processor here, unless there are some missing details to this issue.
The extractText processor already permanently adds any created attribute to the FlowFile it outputs. The dynamic property name used becomes the FlowFile attribute name.
Matt
