Skip to main content
Community site session details

Community site session details

Session Id : GEJSs1SGUi1MsGy4n4HTwO
Power Automate - Building Flows
Answered

How do I specify Current Item when initializing variables?

Like (0) ShareShare
ReportReport
Posted on 9 Sep 2021 22:49:38 by 8

I am converting SharePoint Designer 2010 workflows to Power Automate. I am using a PA template to help "Send a customized email when a new SharePoint list item is added". I added Initialize steps to set variables to use in the e-mail. The first step (Initialize vTicketID) sets the variable (vTicketID), a String, to the ID field value from our SharePoint list. When I tested the flow, it used the first ID (1) in the list rather than the ID (6) for the item that had just been created. In Designer 2010, I noticed that it used "Current Item" to assign the value (e.g. Set Variable: TicketID to Current Item:ID). What is the equivalent in PA to tell it to pick up values from the current item that was just added?

  • ck5 Profile Picture
    8 on 12 Sep 2021 at 22:16:17
    Re: How do I specify Current Item when initializing variables?

    Thank you so much, Anna!

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on 12 Sep 2021 at 12:12:11
    Re: How do I specify Current Item when initializing variables?

    @ck5  From Dynamic content, you will see "When new item is created" heading and fields below it, just select those fields for getting value of current item

    annajhaveri_0-1631448664846.png

     

    or search for the field value you need and make sure that you are selecting the field that is under the "When new item is created" heading

    annajhaveri_1-1631448724590.png

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete