Member since
12-05-2025
2
Posts
0
Kudos Received
0
Solutions
12-09-2025
05:58 AM
Matt, After some digging I found that I could use an updateattribute processor. In it I create two custom attributes: since_date ${now():format("yyyy-MM-dd")} since_date_1 ${now():toNumber():minus(86400000):format("yyyy-MM-dd")} Then later in the InvokeHTTP processor I can use the custom attributes in the url line: ... &since=${since_date}&until=${until_date}&earliest=true Even later I then learned those attributes can be created in the GenerateFlowfile processor or used directly in the url as the formula: ${now():format("yyyy-MM-dd")} which is along the lines of what you posted. Thank you for the response.
... View more
12-05-2025
07:57 AM
I need to pull data from pager duty that needs a date in the url. This is an example: https://api.pagerduty.com/oncalls?include%5B%5D=users&schedule_ids%5B%5D=AAAAAA&schedule_ids%5B%5D=BBBBBB&schedule_ids%5B%5D=CCCCCC&schedule_ids%5B%5D=DDDDDD&since=2025-12-04&until=2025-12-05&earliest=true The two parameters are since and until. The intent is this runs once a day and a new date value set for each day. Something tells me it may look like this: https://api.pagerduty.com/oncalls?include%5B%5D=users&schedule_ids%5B%5D=AAAAAA&schedule_ids%5B%5D=BBBBBB&schedule_ids%5B%5D=CCCCCC&schedule_ids%5B%5D=DDDDDD&since=#{since_date}&until=#{until_date}&earliest=true but the how I don't know. I'll continue searching, but if anyone has a solution I will be thankful.
... View more
Labels:
- Labels:
-
Apache NiFi