Member since
04-23-2019
1
Post
0
Kudos Received
0
Solutions
04-23-2019
08:30 PM
Hi Experts, I have a scenario where I need to return a response for my nifi process on completion or on failure. HandleHttpRequest --> [Some Processors ] --> ExecuteSQL -->[Some Processors ] --> -->UpdateAttribute--> PutFile -->ExecuteScript(Converts JSON File to CSV via Python Script) ---> ??? HttpRequest body contains multiple parameters and PutFile saves multiple files. Input : [{
"PARAM" : "VALUE1"
},
{
"PARAM" : "VALUE2"
}
....
{
"PARAM" : "VALUEN"
}
] Expected Response : [{
"PARAM" : "VALUE1",
"STATUS : "OK"
},
{
"PARAM" : "VALUE2",
"STATUS : "NOT OK"
}
....
{
"PARAM" : "VALUEN",
"STATUS : "OK"
}
] What is the correct way to return the response from this scenario? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi