Member since
08-12-2021
4
Posts
0
Kudos Received
0
Solutions
08-18-2021
04:55 PM
Thanks @adhishankarit for your help. The value of H gross amount is in List ["55.00","58.00"] it's coming from flowfile attribute. Will, it is possible to get the attribute value of H gross amount to use Jolt transformation JSON NiFi processor with the same as last element of H gross amount? Thanks In advance.
... View more
08-17-2021
09:22 AM
One of the JSON values needs to find the string last element. how to get the particular value in attribute with the last element. { "TOT_NET_AMT" : "55.00", "H_OBJECT" : "File", "H_GROSS_AMNT" : "55.00,58.00", "TOT_TAX_AMT" : "9.55" } expected value - { "TOT_NET_AMT" : "55.00", "H_OBJECT" : "File", "H_GROSS_AMNT" : "58.00", "TOT_TAX_AMT" : "9.55" } Much appreciate it in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
08-16-2021
07:44 PM
Hi Support, Thanks for the previous help. but some time input payloads have multiple entries in this list format after replacing regex the below output came. but we are expecting H_GROSS_AMNT following the below details. we would need the last value of the array or string. { "TOT_NET_AMT" : "55.00", "H_OBJECT" : "File", "H_GROSS_AMNT" : "55.00,58.00", "TOT_TAX_AMT" : "9.55" } expected value - { "TOT_NET_AMT" : "55.00", "H_OBJECT" : "File", "H_GROSS_AMNT" : "58.00", "TOT_TAX_AMT" : "9.55" } Much appreciate it in advance.
... View more
08-12-2021
07:38 PM
Hi Support Team, I have JSON input for Nifi flow with some special characters. Could someone help me with how to remove special characters following payload? we would need only value with array and double-quotes. input json: - { "TOT_NET_AMT" : "[\"55.00\"]", "H_OBJECT" : "File", "H_GROSS_AMNT" : "[\"55.00\"]", "TOT_TAX_AMT" : "[9.55]" } Expect Result : { "TOT_NET_AMT" : "55.00", "H_OBJECT" : "File", "H_GROSS_AMNT" : "55.00", "TOT_TAX_AMT" : "9.55" }
... View more
Labels:
- Labels:
-
Apache NiFi