Member since
09-29-2023
4
Posts
2
Kudos Received
0
Solutions
03-04-2024
02:10 PM
1 Kudo
Hello, I am getting the multiple future date and time with one unique id at one processor group from GetMongo in json . Can I do something like once i receive the date and time i schedule another processor group which will get me the information of that particular id for 4 hours and then automatically end it. How can i achieve this type of architecture ?
... View more
Labels:
- Labels:
-
Apache NiFi
03-03-2024
11:28 PM
Hello, I am trying to add key: value in a json after SplitJSON. I was using ReplaceText processor for achieving so. But problem my regex expr is coming twice my json object which causing the invalid json. What would be the appropriate way to do so ? Current Structure: Replace Text Processor looks like : Any suggestions will be of great help!!
... View more
Labels:
- Labels:
-
Apache NiFi
03-01-2024
01:35 AM
1 Kudo
Hello @SAMSAL , Thanks that do work. But I have one more question related to same . I have added as you suggested post:form:series_id : 323 But I need to display value dynamically. as I have shown in the above screenshot I am getting {"series_id" : 323} above InvokeHTTP. I want to send that series_id which is coming in the data flow in the form. I am not able to achieve that.
... View more
02-29-2024
02:11 PM
Hello, I am getting the data from GetMongo Processor then i am evaluating the JSON Path using EvaluateJSONPath where i am getting series_id and then I am doing in InvokeHTTP. I am able to send as json but i am not able to send as form-data. Can you please suggest me what i am doing wrong here. Before invokeHTTP the data flow is
... View more
Labels:
- Labels:
-
Apache NiFi
10-01-2023
12:50 PM
hello @SAMSAL , Thanks for your reply. I have tried what you suggested. And even i tried that before but I am still getting same issue. Please find screenshots I am still getting { match_id: '' }
... View more
09-29-2023
11:53 AM
Hello, I am trying to get an key from GetMongo Processor and then I am trying to replace the value in the format key=value using ReplaceText where value here is the result which I am getting and then passing to different POST API which supports `application/x-www-form-urlencoded` From GetMongo Processor I am getting value {match_id: 789456} and In replaceText Processor I am using in Search Value : (?s)(^.*$) and Replacement Value in match_id=${match_id:urlEncode()} But in API data is getting passed as { match_id: '' } though it should pass as { match_id: 789456 } What I am doing wrong in ReplaceText Processor Can you please help me out with this ?
... View more