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 / Syntax to pass variabl...
Power Automate
Unanswered

Syntax to pass variable key in dictonary , to get its value ?

(0) ShareShare
ReportReport
Posted on by 162

Can i pass variable name in dictonary value?
2 seconds ago
I had key and values in my dictonary.
Prod_workspace : Windows1

Stg_workspace : Windows2

Qa_workspace : Windows3...

If i use %config['Prod_workspace']% , i am getting my result ie Windows1.

I had another Text variable  ENV = Prod or Stg or Qa.
can i pass ENV in dictonary???

 

%config['%ENV%_workspace']%  

getting error here , i also tried  %config[%ENV%'_workspace']%  

 

Categories:
  • MitheshRpa Profile Picture
    162 on at

    use set variable   
    var1=%ENV%_workspace

     

    %config[var1]%

     

    try this , it will work

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 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard