You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by rakesh <ra...@gmail.com> on 2017/10/16 06:39:21 UTC
EvaluateJsonPath Processor Resulting EmptyStringSet For Flow
Attribute
Hi Team,
I'm using EvaluateJsonPath Processor to take out the Json Attribute to
variable like below
<http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png>
My Json file looks like
[ {
"Name" : "User",
"DiscoveredTime" : "Mon Sep 11 19:56:13 IST 2017",
"LatestDiscoveredTime" : "Mon Oct 09 23:38:55 IST 2017",
"DeviceCategoryID" : -1,
"ConfigProfileID" : 1,
"UserMappedProfile" : 0,
"IsInvNotified" : 0
} ]
After Processing EvaluateJson The flow file is updated with variable
names(dateValue1,dateValue2) but the values are set to "*empty string set*"
<http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png>
Don't know where I'm doing wrong need some help to over come this.
Thanks
rakesh.
--
Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/
Re: EvaluateJsonPath Processor Resulting EmptyStringSet For Flow Attribute
Posted by Koji Kawamura <ij...@gmail.com>.
Hi Rakesh,
Is the screenshot URL correct? I can only see controller services table view.
http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png
Would you share EvaluateJsonPath processor configuration?
Thanks,
Koji
On Mon, Oct 16, 2017 at 3:39 PM, rakesh <ra...@gmail.com> wrote:
> Hi Team,
>
>
> I'm using EvaluateJsonPath Processor to take out the Json Attribute to
> variable like below
>
> <http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png>
> My Json file looks like
>
> [ {
> "Name" : "User",
> "DiscoveredTime" : "Mon Sep 11 19:56:13 IST 2017",
> "LatestDiscoveredTime" : "Mon Oct 09 23:38:55 IST 2017",
> "DeviceCategoryID" : -1,
> "ConfigProfileID" : 1,
> "UserMappedProfile" : 0,
> "IsInvNotified" : 0
> } ]
> After Processing EvaluateJson The flow file is updated with variable
> names(dateValue1,dateValue2) but the values are set to "*empty string set*"
> <http://apache-nifi-users-list.2361937.n4.nabble.com/file/t310/NifiHelp.png>
> Don't know where I'm doing wrong need some help to over come this.
>
>
> Thanks
> rakesh.
>
>
>
> --
> Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/