1
votes

I'm creating an Azure Logic App. I've created a 'Recurrence' that will call a custom API endpoint every 12 hours. I want to pass dynamically calculated datetimes as querystring parameters when the API is called. Is this possible? I just need to get the current time, and a time 12 hours in the future. I discovered this guide to date and time functions in expressions for Azure Logic Apps, but I'm not sure how to use these within my workflow:

enter image description here

2

2 Answers

1
votes

You can use Date and time functions as follows:

enter image description here

When you run it, the result will look like this:

enter image description here

0
votes

Thanks @10p for the answer. Here's another screenshot that may help make it clearer how to add the function to get the value for the querystring

enter image description here