If you're needing to read the HTTP response code, InvokeHTTP should do this for you. It basically stores the HTTP response code into the original request flowfile. With a 2xx response code, it will route the request flowfile (with the response code attributes) to the "Original" relationship. From there, the flowfile should have a "invokehttp.status.code" attribute which you can act on.
On Mon, Aug 3, 2015 at 1:46 PM, steveM <stephen.c.metc...@lmco.com> wrote: > I have a use case where I need to call a web service based on a flow file > attribute then route the original flow file based on the response from the > web service call. Can this be done using the standard processors and if so, > how? > > > > -- > View this message in context: > http://apache-nifi-incubating-developer-list.39713.n7.nabble.com/Route-Original-Flow-File-Base-on-InvokeHTTP-Response-tp2317.html > Sent from the Apache NiFi (incubating) Developer List mailing list archive > at Nabble.com. >