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 / Access an array from J...
Power Automate
Unanswered

Access an array from JavaScript function on web page

(0) ShareShare
ReportReport
Posted on by

Hello, I am having problems to run a piece of javascript on web while trying to access elements of an array previously generated on the same flow. A syntax error is thrown on the browser's terminal.

 

The line of code is as follows:

 

var q='%currentQ[i]%'

 

currentQ is an array of strings and i is an iterator in a loop on the flow. I have also tried to pass a string alone instead of an array, but the problem is still showing up.

Categories:
I have the same question (0)

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard