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 / Power Automate Append ...
Power Automate
Unanswered

Power Automate Append to string variable issue

(0) ShareShare
ReportReport
Posted on by

I'm creating an automated flow process to receive weekly email updates on any reports that I have open via a teams list. When using power automate, I'm encountering issues with the append to string variable function whenever I try to add the dynamic content "Assigned to Display Name" append to string variable will open an external function "Apply to each" which I do not need to incorporate. Any suggestions on how to fix this issue would be appreciate and any suggestions on formatting would be appreciated.

 

Thanks in advance.

Power automate incorrect email.JPG
Power Automat error.JPG
Power automate correct email format.JPG
Categories:
I have the same question (0)
  • schwibach Profile Picture
    2 Moderator on at

    You're missing the part of the flow that's interesting... where you get the data from.

    It seems like you're getting multiple rows, not just one. So, the output of the action that you are referencing are an array, not an object.

     

    Try getting only one row... If you cannot do that, show us what's written in the apply to each action (reference to the previous action) and then the reference inside the apply to each action, then I can write the code for you to get the data you want.
    Don't worry, it's not an unsolvable problem.

  • kregistre Profile Picture
    on at

    Thanks for the assistance! If you don't mind taking a look where my cursor is on the second photo, is where the "Assigned to DisplayName" should be placed, however when doing this it opens up a new apply to each tab within the if yes box and around the append to string variable box. 

    Power automate code.JPG
    Power automate code 2.JPG
  • schwibach Profile Picture
    2 Moderator on at

    If you use the "Get Item" action instead of the "Get Items" action in SharePoint you will not get that problem.

    The easiest option for you would be to find out the item id and then use the "Get Item" action... then you can easily reference the sharepoint item without the loops.

  • schwibach Profile Picture
    2 Moderator on at

    If getting the item ID is hard for you, just filter the sharepoint list inside the "Get Items" action so that you will only get one item.... Then you can ignore the Apply_to_each because it will only run once.

  • kregistre Profile Picture
    on at

    What is the Id for the item? I need it specifically to read the list and get all the open items from the list and email it weekly.

  • kregistre Profile Picture
    on at

    There may be multiple open reports on the list I would like it to email me all open reports.

  • schwibach Profile Picture
    2 Moderator on at

    So, you actually want the apply to each action that will send you an email for each item in sharepoint

  • schwibach Profile Picture
    2 Moderator on at

    If you want all items in one email, you should create an html table first

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard