I have the below sequence for calling rest API.
Generate FLowfile processor-->jsonpath processor-->text replace processor(for post data creation)---> InvokeHTTP--->XPATH processor for attribute--->original flow file that is generated by generate flow file.
SO, after text replace processor the original data will be replaced with new data. So, how can I get the original data and use the attributes produced after calling API.


