Announcements
Has anyone found the ability to add and use workflow variables in the new Microsoft Flows?
I have managed to work with functions by putting them between quotes, like so:
"@{addhours(utcnow(),4)}"
Variables within the flow are not currently supported, but will be added in an upcoming release. Thanks for the feedback!
@merwan what's the status on this feature? I'm trying to do some simple calendar event creation and am not able to leverage the same syntax I see in existing templates.
Hi Patrick, we're working on this functionality and plan to release it soon. Thanks for your patience and feedback.
Thanks @merwan! I was able to get past the above issue leveraging a time API (www.timeapi.org) and HTTP request but variables and inline-functions would be greatly appriciated!
Hello, are there news on this feature??
Any updates? This seems like a more fundamental and essential business feature for minimal workflow, much more than connecting to twitter!!!
Adding a first class function editing experience in Flow continues to be on our backlog and something we plan to address in the future. However, in the meanwhile, here's a workaround you can employ.
1. In your flow, add a compose card.
2. In the Compose card, you can execute workflow functions specified here: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language
3. An example to get today's date in the format of 2017-05-16, I would do: "@utcnow('yyyy-MM-dd')"
I just found new actions: "Initialize variable", "set variable" and "increment variable". When initializing a variable, the following fields must be filled: name, type (boolean, integer, floating, string, object, matrix) and optionally value. I guess "Increment variable" is only valid for integers and floats, according to https://flow.microsoft.com/es-es/blog/error-handling/
However, when dealing with "set variable" there seems to be a bug according to https://powerusers.microsoft.com/t5/I-Found-A-Bug/Error-Variables-Set-Variable-quot-The-request-content-was/m-p/37207#M383
I'm trying to use "Set variable" without success.
Do you know how it works?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 272 Super User 2026 Season 2
trice602 147 Super User 2026 Season 2
11manish 146 Super User 2026 Season 2