Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-29-2017 11:31 AM
Hi I tried to remove duplicates
I have a json like below
{
"message":"XXXX",
"id":"1"
}
I want to remove all json with the same id
I try using detect duplicates processor
I try Cashe Entry Identifier ${id} but it's not worked as expected
Created 11-29-2017 02:36 PM
If you want to use ${id} as your cache entry identifier, then you need a flow file attribute called id.
You could use EvaluateJsonPath first with an expression of id = $.id to extract the id from the json into an attribute.
Created 11-29-2017 11:50 AM
@Matt Burgess I will appricate your support
Created 11-29-2017 02:36 PM
If you want to use ${id} as your cache entry identifier, then you need a flow file attribute called id.
You could use EvaluateJsonPath first with an expression of id = $.id to extract the id from the json into an attribute.
Created 12-03-2017 11:31 AM
Thanks @Bryan Bende It's worked for me