You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by ALAM Mahabub <ma...@alstomgroup.com> on 2020/03/26 12:54:54 UTC
Read XML file and Put it to PostgreSQL using NiFi
Hello all,
I am new in NiFi and facing a problem on extracting XML field and put it into the database since 3 days as.
I am able to extract attributes from XML data using GetFile>SplitXml> EvaluateXQuery processor.
Now, I don’t know how to put the multiple attributes (coming from EvaluateXQuery processor) using PutDatabaseRecord Processor. It gives me error all the time.
It will be highly appreciated if anyone can help me on this issue. Thank you!
Do I need to convert it to JSON then put it to DB?
Configuration ExecuteXQuery:
[cid:image007.jpg@01D60376.1A049320]
Configuration PutDatabaseRecord:
[cid:image008.jpg@01D60376.1A049320]
FlowFile Error:
[cid:image009.jpg@01D60376.1A049320]
Regards,
Mahabub ALAM
+330758046869
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.