Member since
11-21-2024
7
Posts
4
Kudos Received
0
Solutions
12-06-2024
12:25 AM
1 Kudo
@SAMSAL Hi, sorry that I was not clear enough in my question, was doing my best 😞 @MattWho This works, thank you very much. I have set a maximum back-off time for 1 minute as this process is quite time-sensitive and set the queue before RouteonAttribute as well as looped relationship to prioritize the oldest fileflow. Thank you both for help!
... View more
12-05-2024
05:52 AM
Hi Samsal, I added Wait processor there for debugging if needed, and invokeHTTP is disabled because it would hamper my testing due to the fact the initial trigger is the status change (So status changes to Started, fileflow is generated, then at the end it changes the status to ready). As stopped processors are affected by starting/stopping the entire process group, I found it much easier to disable it after I already confirmed it worked the way I wanted. Yeah, then I am in a bit of a pickle, I would like to utilize either total life duration of a fileFlow or when it went through last processor. The total duration is fine as the whole cycle lasts few seconds
... View more
12-05-2024
05:13 AM
1 Kudo
Hi Samsal, Sure, here is the flow itself: Here is config of controlRate processor I have also tried data rate, but the moment the fileFlow arrives at that processor, it immediately goes to queue for invokeHTTP.
... View more
12-05-2024
04:29 AM
1 Kudo
Hi All, So I have a flow that at the end changes particular status through API. The direct upstream processor is putEmail, which is supposed to notify dynamically generated contacts with data. After this e-mail is sent, the requirement is to wait 24 hours before using the API call. I have had a hard time understanding the Wait processor and its relation to signal release. ControlRate does not really work (or I cannot set it up properly). What would be a suggested way to deal with such a scenario?
... View more
Labels:
- Labels:
-
Apache NiFi
11-22-2024
05:44 AM
1 Kudo
@SAMSAL Jeez... I should not have prepared that flow at the end of 12 hour work... Of course, it works now, sorry for troubles and thanks for quick support
... View more
11-21-2024
10:24 PM
Hi, I am using PUT method, the URL is #{xtrf_api}/quotes/${quote_id}/status which correctly resolves itself with https://tolingo-portal-test.s.xtrf.eu/home-api/quotes/ZQ6BPIPYHVE2FCVQ4HASNRIU3I/status. The error message is 404, <html><head><title>Error</title></head><body>Not Found</body></html> which suggests that the json was not ingested by InvokeHTTP (as far as I understand). When I use Postman (If there is a better way to share the results, I am happy to provide but I am still a beginner)
... View more
11-21-2024
10:03 AM
Hi, I am trying to create json, that is always the same, {"status":"APPROVED"} I have used replace text, used alwaysreplace and put that text there. Here is the specification of the invokehttp Am I missing something?
... View more
Labels:
- Labels:
-
Apache NiFi