Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure logical app current time

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

like image 893
user3195568 Avatar asked Feb 07 '17 02:02

user3195568


People also ask

Can logic apps run on a schedule?

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.

How long can Azure logic app run?

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.

What is difference between logic app and Azure function?

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.


1 Answers

@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

like image 90
Joshua Duxbury Avatar answered Dec 07 '22 19:12

Joshua Duxbury