Member since
04-12-2019
7
Posts
0
Kudos Received
0
Solutions
05-02-2019
04:57 PM
Thanks @Shu I had done the same in my case with some minor modifications.
... View more
05-01-2019
08:33 PM
Thanks @Shu. But this does not solve my problem. It does remove the \ from the json but the response is still not in the json response. {"someValue":"[{"id":"6f7f8ffe-4837-4fc1-a5b9-45bc35727b69","name":"da_st","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:02Z"},{"id":"3559741f-76f6-4fb4-b919-6def5e0511fe","name":"Het","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:00Z"},{"id":"3b66fbda-9a16-48ac-9fd0-122e3826ef80","name":"queue","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:01Z"}]"} The response should have been : {"someValue":[{"id":"6f7f8ffe-4837-4fc1-a5b9-45bc35727b69","name":"da_st","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:02Z"},{"id":"3559741f-76f6-4fb4-b919-6def5e0511fe","name":"Het","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:00Z"},{"id":"3b66fbda-9a16-48ac-9fd0-122e3826ef80","name":"queue","doc":"unknown","pnId":"2846e8e1-5b17-490c-a99e-df1f1e3fa009","status":"Approved","scope":"Global","dateModified":"2019-04-19T11:26:01Z"}]} The quotes should not be present before and after the array brackets([]).
... View more
04-30-2019
01:47 PM
I fetched the data from hbase using fetchHbaseRow and the response is in json format. but the value for the attribute is array of objects and it is having escaped characters in there. A sample response is posted below: {"someValues":"[{\"a\":\"6f7f8ffe-4837-4fc1-a5b9-45bc35727b69\",\"b\":\"da_states\",\"doc\":\"unknown\",\"idNew\":\"2846e8e1-5b17-490c-a99e-df1f1e3fa009\",\"status\":\"Approved\",\"scope\":\"Global\",\"dateModified\":\"2019-04-19T11:26:02Z\"}]"} I need to split the objects in array and because of escape characters I am not able to. @Matt Burgess
... View more
Labels:
- Labels:
-
Apache HBase
04-12-2019
02:09 PM
I am new to Nifi, I am trying to create a process group which takes an authentication token using get port and makes call to Api. I have used Httpprocessor to fetch the data, after fetching the data I am taking some data, let's say an I'd using EvaluateJSONPath and passing it to a new hero processor to fetch some other data. But I am not able to pass the token that I received at the very start of the process group. Is there any way I can set the token received global for all process in processorgroup ?? We can set a global variable for processorGroup but can it's value be made dynamic instead of static ??
... View more
Labels:
- Labels:
-
Apache NiFi