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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Append array with strings
Power Automate
Unanswered

Append array with strings

(0) ShareShare
ReportReport
Posted on by 29

Hello,

 

I would like to add persons into a list person column. I have email addresses and tried to add them into an array and after compose add them into a list. But during the save I received the following error: 

"Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The inputs of workflow run action 'Append_to_array_variable' of type 'AppendToArrayVariable' are not valid. The provided value of '[ "@variables('First Approver')", "@variables('Second Approver')", "@variables('Sourcing Manager')", "@variables('CFM')" ]' of type 'Array' must be a primitive type, or a valid template language expression.'."
 
Theme_0-1702289458545.png

I don't understand what is the problem in my append array step. All of the variables are String and all of it contains valid email address. Could you please help me?

 

Best regards,

Gergő

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi GergÅ‘,

     

    If you are adding those values in a plain array, then use "Append to array variable" four times for adding those 4 variables. Each time just select the variable from the dynamic content widow, you don't need to warp the value inside [].

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Theme Profile Picture
    29 on at

    Hello,

     

    It doesn't help for me, because the list can't recognize the people in the array :(. But I can solve the problem with update item step and some condition.

    Theme_0-1702299138691.png

    Thanks a lot your help.

     

    Best regards,

    Gergő

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard