Member since
04-16-2023
15
Posts
0
Kudos Received
0
Solutions
05-29-2023
11:03 PM
Groovy Script Crashing: Unexpected Character '(' in groovy script in apache nifi?
... View more
Labels:
- Labels:
-
Apache NiFi
04-25-2023
10:38 AM
Hi, Can you answer this question please How to do Dynamic property naming in NIfi? - Cloudera Community - 369374
... View more
04-25-2023
10:25 AM
I am assigning a value to "reasonId" and later using it as a dynamic property in other processor(ExractText). Now, I want to assign this as an dynamic property so that I can store some API response into this. Means reasonId value and Api response both should change evertytime. Here I want this [${reasonId}=(.*)] to be like this:- 6099 = Api response (Everytime value of 6099 should change as it is a dynamic variable) But, I am getting it like this ${reasonId}=Api response Why there is no 6099 instead of reasonId. Does it means Dynamic property assignment is not working properly? or I can use some jolt spec and all for this? Basically I want reasonId to hold its value 6099 and Api response should be store in 6099 instead of ${reasonId}.
... View more
Labels:
- Labels:
-
Apache NiFi
04-24-2023
02:32 AM
So wait-notify would be added in between EnforceOrder and extract text ? So that next flowfile will execute after one flowfile process completes?
... View more
04-24-2023
02:09 AM
That is correct but when I am setting relationship of EnforceOrder with ExtractText processor only 1 file is going to ExtractText under (overtook, wait ,skipped) relationship, Rest 11 files are going under success. While I want to loop on all of them one by one that is iteration. So After one complete iteration How can I get 2nd flowfile value in ExtractText processor. Also the relationship is also a doubt of concern . Actually I dont know whether it should be under success or overtook,wait and skipped . All I need is I want every flowfile to go to ExtractText Processor for further flow one by one.
... View more
04-24-2023
01:13 AM
Hi I did the same and it worked for the first value of array now the question is how to process on 2nd value of array? I mean how to to take 2nd index value in 2nd call of loop?
... View more
04-23-2023
03:37 AM
Actually this is my actual question in case you can help with this How can I extract this key value "9876" from the g... - Cloudera Community - 368878 (please see reply also, I was unable to edit the question So I added the Correct information in one comments reply).
... View more
04-23-2023
03:31 AM
Hi, I had done it and as you mentioned I will get 12 flowfiles, I got the same but the problem is I need only 1 value at a time as we do in a loop. So the question is how to use the flowfile value for running the loop OR "how to run loop on flowfiles" ? I have 12 flowfiles now for further process I need the 1st index values that is the first flowfile value and process further and in second time I need 2nd index value so that I can process further and 3rd need the index value and so on for all flow files. Now question rises how can I iterate on flowfiles?
... View more
04-22-2023
11:29 AM
How can I iterate on this array in NIfi, I am extracting this array from an API response in nifi but unable to extract every index value one by one for completing my whole flow. Example: Need 6100 in any variable so that I can use it for further process and in next iteration need 6101 in that variable and so on. Edit: This array is extracting like this only, it is not assigned to any named array such as arr[] or anything. [ "6100", "6101", "6102", "6103", "6104", "6105", "6106", "6107", "6108", "6423", "23382", "354548" ]
... View more
Labels:
- Labels:
-
Apache NiFi