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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using variables in Pow...
Power Automate
Unanswered

Using variables in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 5
I am trying to use a flow variable in my Power Automate script. Power Automate treats the flow variable reference as a literal and does not resolve the variable's value.
Intrinsic_0-1707923499891.png
The value of NewVar2 is: Hello %sample%

Intrinsic_1-1707923547980.png

 

I am trying to achieve in NewVar2:

        Hello hello this is a test of a string

 

I have tried: Hello + %sample%, Hello '%sample%', Hello "%sample%", Hello "'%sample%'" with similar results

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @Intrinsic 

    Hope you are doing well!!

     

    Please refer the below MS article for the same:
    Variable manipulation and the % notation - Power Automate | Microsoft Learn

    Also Please follow the below code:

    Deenuji_0-1707925848267.pngDeenuji_1-1707925877025.png

     

  • Intrinsic Profile Picture
    5 on at

    I have followed the guidance set forth in the article, using the '%' notation in a variable reference does not resolve to the variable's value

     

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @Intrinsic 

    I understand. It seems that Power Fx was enabled when you created your flows. To resolve this issue, please disable it and recreate your flow from scratch and follow the same syntax as mentioned in the previous post or MS document it will work now.

    Deenuji_0-1707926621816.png

     

     

    Thanks,

    Deenu

     

    -----------------------------------------------------------------------------------------------------------------------------

    If this helps & solves your problem, please remember to give a "Thumbs up" and "Accept my solution" as it will help others in the future.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard