Member since
05-09-2017
1
Post
1
Kudos Received
0
Solutions
05-09-2017
02:57 PM
1 Kudo
xpath.pngMy NiFi Flow is: GenerateFlowFile --> UpdateAttribute --> InvokeHTTP --> EvaluateXPath --> LogAttribute My xml data returned by InvokeHTTP Is : <?xml version="1.0" ?>
<queryResponse type="HCC" rootUrl="https://xyz/data" requestUrl="https://xyz/data/HCC" responseType="listEntityInstances" count="253561" first="0" last="999">
<entity url="https://xyz/data/HCC/790189306" type="HCC" dtoType="hccDTO">
<hccDTO id="790189306" displayName="790189306">
<count>0</count>
</hccDTO>
</entity>
</queryResponse> I want to get "last" attribute's value from EvaluateXPath. Expecting value "999" to be returned but I am getting entire xml in output. I am attaching the processor details. Kindly let me know where I am going wrong.
... View more
Labels:
- Labels:
-
Apache NiFi