Member since
07-29-2020
574
Posts
320
Kudos Received
175
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
245 | 12-20-2024 05:49 AM | |
281 | 12-19-2024 08:33 PM | |
291 | 12-19-2024 06:48 AM | |
242 | 12-17-2024 12:56 PM | |
233 | 12-16-2024 04:38 AM |
08-27-2022
04:28 PM
1 Kudo
Hi, You can use the ReplaceText Processor as follows: If you find this helpful please accept solution. Thanks
... View more
08-26-2022
11:52 PM
Thanks for your help @SAMSAL
... View more
08-24-2022
12:38 AM
Thanks a lot for suggestion. Original relationship helped. I am working with 1.13.2. Will check the suggested one. Thanks!
... View more
08-22-2022
05:22 AM
Hi @SAMSAL: I was trying to implement your solution but I didn't find a way to define a SYS_REFCURSOR in Pre-Query statements. Can you share any working simple example using Oracle DBMS?
... View more
08-17-2022
11:39 PM
Hi, Thank you for your support. The conversion to a date form type I had not in mind
... View more
08-16-2022
01:34 PM
1 Kudo
Hi, not sure if you are repeating the attribute name in the processor dynamic property values! Make sure the different header attributes are set\add as follows:
... View more
08-10-2022
12:55 PM
2 Kudos
Hi, you can use ReplaceText by setting the Evaluation Mode property to "Line-by-Line", then set the "Line-by-Line Evalaution Mode" to "Last Line". In the Replacement Value set it to Empty String Set and the Search Value leave as "(?s)(^.*$)" as seen in the screenshot below: If you find this helpful please accept solution. Thanks
... View more
08-03-2022
07:59 PM
1 Kudo
I create an XMLRecordSetWriter in the Controller Services, then using a ConvertRecord processor I'm able to read the xml record and then immediately write it out with a new root tag, which I can then pass to my next processor. I discovered this when I was reading the documentation for the XMLRecordSetWriter. Very first line in the documentation. 😃 https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-record-serialization-services-nar/1.7.0/org.apache.nifi.xml.XMLRecordSetWriter/index.html
... View more
07-31-2022
06:21 PM
@KhASQ , Besides @SAMSAL solution, you can also use ReplaceText to eliminate the need of extracting the entire content as an attribute. You'd still have to set a large enough buffer, though, to ensure your largest message could be processed. Cheers, André
... View more