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

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Suggested answer

Passing variable into "Run JavaScript function on web page" not working

(0) ShareShare
ReportReport
Posted on by 2
So keeping this as simple as possible - open Browser, set a variable named "Animal" to a value of "cow":
 
 
Now when trying to bring that variable value into the "Run JavaScript function on web page" has driven me to insanity.
 
 
I've tried "%Animal%", %Animal%, ${Animal}.
 
What in the world is the syntax to bring in my variable's value?
Categories:
I have the same question (0)
  • Suggested answer
    MC-23041912-0 Profile Picture
    2 on at
    Passing variable into "Run JavaScript function on web page" not working
    Ahhh, figured out the syntax:

    "${Animal}"

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 555 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 388 Moderator

#3
chiaraalina Profile Picture

chiaraalina 264

Last 30 days Overall leaderboard