web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Workflow Variables in ...
Power Automate
Unanswered

Workflow Variables in Microsoft Flows

(2) ShareShare
ReportReport
Posted on by 62

Has anyone found the ability to add and use workflow variables in the new Microsoft Flows?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have managed to work with functions by putting them between quotes, like so:

     

    "@{addhours(utcnow(),4)}"

  • merwan Profile Picture
    Microsoft Employee on at

    Variables within the flow are not currently supported, but will be added in an upcoming release. Thanks for the feedback!

  • patrickabel Profile Picture
    53 on at

    @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.

    Screenshot (7).png

  • merwan Profile Picture
    Microsoft Employee on at

    Hi Patrick, we're working on this functionality and plan to release it soon. Thanks for your patience and feedback. 

  • patrickabel Profile Picture
    53 on at

    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!

  • kinobijei Profile Picture
    on at

    Hello, are there news on this feature??

  • RKushner Profile Picture
    127 on at

    Any updates? This seems like a more fundamental and essential business feature for minimal workflow, much more than connecting to twitter!!!

  • merwan Profile Picture
    Microsoft Employee on at

    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')"

     

     

     

  • efialtes Profile Picture
    350 on at

    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

  • vfortes Profile Picture
    Microsoft Employee on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard