Matt,

"relationships": [
      {
        "name": "success",
        "description": "All created FlowFiles are routed to this relationship",
        "autoTerminate": true
      }
    ],


I have added this bit in the JSON. Even though I set the autoTerminate to true 
it stays false.

Thanks,
Nawaz

From: Matt Gilman [mailto:[email protected]]
Sent: Thursday, July 28, 2016 12:15 PM
To: [email protected]
Subject: Re: changing processor relationship via REST API

Nawaz,

Can you double check how you're attempting to set the relationship to 
auto-terminate? There is a flag which is part of the Relationship that is 
considered read-only and reports the current state of the relationship. 
However, to auto-terminate a connection you need to add it to the 
autoTerminatedRelationships array in the processor config. If you open up the 
Dev Tools in your browser you should be able to see it in action.

Let me know if you have any other questions. Thanks!

Matt



On Thu, Jul 28, 2016 at 1:02 PM, Nawaz Akther -X (nakther - INSIGHT GLOBAL INC 
at Cisco) <[email protected]<mailto:[email protected]>> wrote:
Hi,

I am trying to create an executeProcess processor via the REST API. And I am 
trying to set the relationship of success to be auto terminated. And for some 
reason if I include the autoTerminate as True in the JSON the processor is 
still created with the autoTerminate option as False. And I am trying to change 
it via a PUT call and it still remains false. Has onyone encountered this 
problem.

Thanks,
Nawaz

  • changing processor... Nawaz Akther -X (nakther - INSIGHT GLOBAL INC at Cisco)
    • Re: changing ... Matt Gilman
      • RE: chang... Nawaz Akther -X (nakther - INSIGHT GLOBAL INC at Cisco)
        • Re: c... Matt Gilman
          • R... Nawaz Akther -X (nakther - INSIGHT GLOBAL INC at Cisco)
            • ... Joe Skora
              • ... Matt Gilman
                • ... Joe Skora

Reply via email to