Member since
07-08-2022
43
Posts
6
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1818 | 12-17-2022 10:54 PM |
05-08-2023
11:44 AM
i'm trying to split the array values to seperate list of object values but not able to get it. input: { "FatturaElettronicaBody": { "DatiGenerali": { "DatiGeneraliDocumento": { "TipoDocumento": "TD01", "Numero": "126561", "Data": "05.05.2023", "Divisa": "EUR", "ImportoTotaleDocumento": "9382.29" }, "DatiDDT": { "NumeroDDT": "086708,086704,086705,086706,086707" } } } } using spec: [ { "operation": "shift", "spec": { "FatturaElettronicaBody": { "DatiGenerali": { "DatiDDT": { "*": { "NumeroDDT": "FatturaElettronicaBody.DatiGenerali.DatiDDT[&1].NumeroDDT" } } } } } } ] but getting result as null. expected output: { "FatturaElettronicaBody": { "DatiGenerali": { "DatiGeneraliDocumento": { "TipoDocumento": "TD01", "Numero": "126561", "Data": "05.05.2023", "Divisa": "EUR", "ImportoTotaleDocumento": "9382.29" }, "DatiDDT": { "NumeroDDT":{ "086708 }, "NumeroDDT":{ 086704 }, "NumeroDDT":{ 086705 }, "NumeroDDT":{ 086706 }, "NumeroDDT":{ 086707" } } } } } Regards, Pradeep
... View more
Labels:
- Labels:
-
Apache NiFi
12-30-2022
02:16 AM
Hi @MattWho , After i Enabled Retrieve site-to-site details for the Input port BulleInfo, then i was able to receive the BulletinInfo. Thank you so much for you suggestions!! Regards, Pradeep
... View more
12-29-2022
09:36 PM
Thanks for the Suggestions @MattWho . Was able to sort of the authentication issue and i also tailed the nifi-user.log , in that observed authentication successful. But now I'm observing a different error. the input port name which I've given in Configure Reporting Task settings even though my flow is root of the canvas. Could you please help on this issue.
... View more
12-17-2022
10:54 PM
Hi All, Finally was able to accomplish this task. after changing the Flow to below. Before keeping the Flowfiles in putFile path updating filename of each flowfile to same name taking two flow files in respected putfile paths (invoice, QRBill) folders separately and placing them in respective folders using 2 put files. then after putfile adding merge content(actual merging two files not happening here, but we are getting one single output) to get single flowfile and then in the execute. and then in the execute stream command for both inputs giving that same filename for respective folders. Regards, pradeep
... View more
12-15-2022
06:49 AM
HI , Could you please help me How to merge two pdf files which are coming from two flow files into one pdf file in Nifi. I'm trying to merge two files (invoice file and QR File) from two flowfiles and used mergecontent processor but only single file(first file from 2 input files but not merged file) coming as merged file, with the combined file size. Files flow: for the first flow file updateattribute maintained fragment.index=0 and second flowfile udpateattribute maintained fragment.index=1 and for combined flowfile updateattribute Before merge processor given fragment.count=2 Mergecontent Config: Can anyone help on this? Regards, Pradeep
... View more
Labels:
- Labels:
-
Apache NiFi
12-13-2022
08:03 AM
Hi Team, I'm trying to merge two files(.pdf format) and combine it to one file using execute streamcommand using jar file. at java side the merge is working using the same jar. but nifi side the command is not working , instead of merging files it pushing both individual files to outputstream and throwing the below error at execute streamcommand processor. "Failed to write flow file to stdin due to broken pipe:java.io.IOException:Broken pipe" Below is flow which i'm using and the command Arguements which i'm using is -jar;pdfmerge-0.0.1-SNAPSHOT.jar;/opt/nifi/nifi-current/temppdf/${filename:startsWith('invoice_')};/opt/nifi/nifi-current/temppdf/${filename:startsWith('QRBill_')};/opt/nifi/nifi-current/temp2/Output.pdf and here is my configuration of executeStreamCommand: Could you please help me on this?
... View more
Labels:
- Labels:
-
Apache NiFi
08-01-2022
12:14 PM
Thank you so much @MattWho For taking time and looking into the issue. Whatever the improvements that you suggested which were already there for site to site details in all 3 nodes. # Site to Site properties nifi.remote.input.host=################# nifi.remote.input.secure=true nifi.remote.input.socket.port=10000 nifi.remote.input.http.enabled=true nifi.remote.input.http.transaction.ttl=30 secnifi.remote.contents.cache.expiration=30 secs and both ServerAuth and ClientAuth privatekey Entitiy allowed in all 3 nodes. as you are telling Authorization Exceptions. I've experienced those errors too earlier before when tried to call one node from other node (Unable to refresh remote group peers due to: response code 401:Unauthorized with explanation: null), Please let me know if this error is specific to certificate which i'm referring to using SSL/is this due to the Destination URL which i'm using / are there any specific properties which i need to look in? Thank you, Pradeep
... View more
07-21-2022
06:03 AM
1 Kudo
Yes that's the requirement. Thank you so much @SAMSAL , it worked. perfectly, Could you please help me any sources to get used to these xml scripts.
... View more
07-19-2022
12:42 PM
@MattWho , Could you please help on this
... View more
07-19-2022
10:12 AM
@mburgess Could you please help on this? thank you!!
... View more
- « Previous
- Next »