I have an Azure Logical app that every hour gets a file from a website and create a file in OneDrive. Since the file does not have a dynamic name, it gets replaced every time. Is there a way to put the current date time in the filename?
Thank you, David
Azure Logic Apps helps you create and run automated recurring workflows on a schedule. By creating a logic app workflow that starts with a built-in Recurrence trigger or Sliding Window trigger, which are Schedule-type triggers, you can run tasks immediately, at a later time, or on a recurring interval.
Change run duration and history retention in storage For the single-tenant service, you can decrease or increase the 90-day default limit. For more information, review Edit host and app settings for logic apps in single-tenant Azure Logic Apps.
Azure Functions is a serverless compute service, whereas Azure Logic Apps is a serverless workflow integration platform. Both can create complex orchestrations. An orchestration is a collection of functions, or actions in Azure Logic Apps, that you can run to complete a complex task.
@Rodrigo Daruich Alvarez's answer got me in the right direction but the format wasn't quite right. The below worked for me
concat('file',string(utcNow('yyyyMMdd'),'xls')
the formDataValue didn't seem to work.
documentation here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With