Member since
04-09-2023
3
Posts
0
Kudos Received
0
Solutions
04-10-2023
07:28 AM
Thanks for the links. Where to initialize the values in the flow? My requirement is to initialize somewhere and then update the value after invokeHttp. 1. GenerateFlow --> invokeHttp ( GenerateFlow is scheduled to run every 60 mins ) 2. invokeHttp --> updateAttribute As per the flow above, it gets initialized again before the invokeHttp and gets updated after the invokeHttp. But, should be intialized only once and keep updating after the invokeHttp.
... View more
04-09-2023
09:55 AM
I have a dynamic attribute requirement. Current Flow 1. GenerateFlow --> invokeHttp ( GenerateFlow is scheduled to run every 60 mins ) 2. invokeHttp --> updateAttribute I have stTime & endTime to invokeHttp which needs to be changed based on last invoke time. Lets say, invoking http very first time, stTime = 04-01-2023 00:00 endTime = 04-01-2023 01:00 In the next schedule, it should be, stTime = 04-01-2023 01:00 endTime = 04-01-2023 02:00 I tried to set attribute in the generate flow with initial value and incrementing using updateAttribute after the invokehttp is done. This value gets overwritten when the next schedule is starting by GenerateFlow.
... View more
Labels:
- Labels:
-
Apache NiFi