<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question InvokeHTTP write a property on Failure Condition in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-write-a-property-on-Failure-Condition/m-p/241573#M203376</link>
    <description>&lt;P&gt;I am working on a NIFI flow that &lt;STRONG&gt;begins &lt;/STRONG&gt;with an InvokeHTTP processor.&lt;BR /&gt;&lt;BR /&gt;On the occasion that there is a connection timeout (Failure condition), I wish to assign the InvokeHTTP processor &lt;STRONG&gt;Remote URL&lt;/STRONG&gt; value to a new property and have this property passed as data (attribute) through the "Failure" path to another processor.  Is it possible to do within the same InvokeHTTP processor?&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2019 08:40:26 GMT</pubDate>
    <dc:creator>jerry_pylarinos</dc:creator>
    <dc:date>2019-06-03T08:40:26Z</dc:date>
    <item>
      <title>InvokeHTTP write a property on Failure Condition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-write-a-property-on-Failure-Condition/m-p/241573#M203376</link>
      <description>&lt;P&gt;I am working on a NIFI flow that &lt;STRONG&gt;begins &lt;/STRONG&gt;with an InvokeHTTP processor.&lt;BR /&gt;&lt;BR /&gt;On the occasion that there is a connection timeout (Failure condition), I wish to assign the InvokeHTTP processor &lt;STRONG&gt;Remote URL&lt;/STRONG&gt; value to a new property and have this property passed as data (attribute) through the "Failure" path to another processor.  Is it possible to do within the same InvokeHTTP processor?&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 08:40:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-write-a-property-on-Failure-Condition/m-p/241573#M203376</guid>
      <dc:creator>jerry_pylarinos</dc:creator>
      <dc:date>2019-06-03T08:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: InvokeHTTP write a property on Failure Condition</title>
      <link>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-write-a-property-on-Failure-Condition/m-p/241574#M203377</link>
      <description>&lt;P&gt;I solved this by using a GenerateFlowFile processor to create an attribute url and to trigger the InvokeHTTP processor at the schedule rate of interest.&lt;BR /&gt;On a failure condition (e.g. InvokeHTTP connection timeout) I use an UpdateAttribute processor to assign to the attribute url the Remote URL using a Regex: ${invokehttp.java.exception.message:substringAfterLast('/'):substringBefore(':')}&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 18:34:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-write-a-property-on-Failure-Condition/m-p/241574#M203377</guid>
      <dc:creator>jerry_pylarinos</dc:creator>
      <dc:date>2019-06-19T18:34:26Z</dc:date>
    </item>
  </channel>
</rss>

