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 insert varia...
Power Automate
Unanswered

syntax to insert variavel into currentItem on for each

(0) ShareShare
ReportReport
Posted on by 120

%CurrentItem[%NewVar%]%

 

 

when iterating in a "for each" I want to insert a variable that will define the header, this avoids csv breakage when the column is renamed, but as I understand it, I can't pass a value of a variable inside the current item's interaction "currentIten", is there a solution?

I have the same question (0)
  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    %CurrentItem[NewVar]%

  • douglasabreu Profile Picture
    120 on at

    lack of attention of mine, I did several tests and this was one of them, but my failure blinded me.

    have a great day sir!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard