Support Questions
Find answers, ask questions, and share your expertise

Multiple GETHTMLElement

New Contributor

Is there any way to perform multiple GETHMLElements in the same line of dataFlow?

I am using the processor like it's explained in https://community.hortonworks.com/questions/68060/how-to-use-gethtmlelement.html (InvokeHTTP --> GetHTMLElement --> UpdateAttributes (dateDay: ${HTMLElement}) to get one date (and its working well). After that, I need to perform another GetHTMLElement to get the date hour and bind the 2 attributes in one formatted date, but the second CSS Selector it is not working...

It´s possible to get multiple HTMLElements to attributes in the same data LineFlow?

Thanks...!

2 REPLIES 2

New Contributor

I solved that performing a MergeContent after updating the 2 attributes name... But now i need to perform another 3 different GetHTMLs from the same Fileflow at different times (with different content)... Is not possible to perform them continuously avoiding MergeContent???

Thanks..

New Contributor

Solved and reported in JIRA by Andy (https://stackoverflow.com/questions/46070288/multiple-gethtml-attributes-in-apache-nifi)