Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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ő

  • Theme Profile Picture
    29 on at
    Re: Append array with strings

    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ő

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Append array with strings

    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

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 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1