Member since
07-16-2021
11
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1244 | 07-16-2021 05:42 AM |
07-05-2023
06:09 AM
How can I update an existing document (replacing it with the new one received) based on a specific key? the document is something similar to this one: { "field1": { "key1": "value", "key2": "value", "key3": "value" }, "key": { "subfield": { "uuid": 1234 } } } the key is key.subfield.uuid and it is contained into the json entering in the putmongo processor
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry
07-28-2021
03:09 AM
I found out this solution but when I apply it on nifi it returns an error saying " is invalid because specification not valid for the selected transformation but it works on jolttransformation demo (https://jolt-demo.appspot.com/#inception😞 [
{
"operation": "shift",
"spec": {
"*": {
"id": "id"
},
"#1": {
"&": "result"
}
}
}
] I don't understand why
... View more
07-22-2021
07:43 AM
It seems that you were able to split the problem in the two key steps: 1. Define the attribute 2. Route on the attribute First question: Is defining the attribute succesful? Please check your message in the queue directly after doing this evaluatejsonpath. Look carefully (not sure if it is case sensitive/what it does with quotes). Second question: Are you able to make any attribute based routing work? Perhaps just try some things till anything works and see what the difference is with your flow. The only thing I could think of are trivial points such as case sentivity (maybe), or extra quotes/spaces. You may try something even simpler like route if it contains the letter c, for your first test.
... View more
07-19-2021
07:22 AM
Hi alexmarco, I did not find the 'Upload/Attach' option to upload the template file . Could you please follow the steps/screenshots mentioned , it should work for your example well. thanks
... View more
07-16-2021
05:52 AM
@alexmarco it seems like you resolved your issue. If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
... View more