Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Multiple GETHTMLElement

Highlighted

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

Re: Multiple GETHTMLElement

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..

Re: Multiple GETHTMLElement

New Contributor

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

Don't have an account?
Coming from Hortonworks? Activate your account here