Re: how to merge attributes?

2018-10-24 Thread Koji Kawamura
Hi Victor, Excuse me, I meant "Response" relationship while I typed "Result". Please take a look on this example flow template for detail. https://gist.github.com/ijokarumawak/0f80d2e0c691b0c9bb4721eea340ad52 Also, this screenshot describes what the example flow does. https://gist.githubuserconte

Re: how to merge attributes?

2018-10-24 Thread l vic
Not sure I understand: "InvokeHttp" offers 5 relationships: "Failure", "No Retry", "Original", "Response", "Retry" with incoming FlowFile created for "matched" relationship...Don't see any "Result" and "Response" flowfile doesn't seem to contain input attributes. I work with ver. 1.7.0 of nifi Tha

Re: how to merge attributes?

2018-10-23 Thread Koji Kawamura
Hello, InvokeHttp creates a new FlowFile for "Result" relationship from the incoming FlowFile. That means, the FlowFile for "Result" carries all attributes copied that the incoming one has. You just need to connect the "Result" relationship to ReplaceTest. "Original" can be auto-terminated in this

how to merge attributes?

2018-10-23 Thread l vic
I have to create sql query from results of rest call (InvokeHttp ) and original request parameters... Any idea how i can merge attributes from both in single flowfile for passing it to "ReplaceText"? If I pass both "Original" and "Result" from "InvokeHttp" to "ReplaceText" I end up with one "valid