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

Append to array variable error

(0) ShareShare
ReportReport
Posted on by 73
All, 

I am trying to create an array for my variable "Managers".  How can I fix this error?

Error message:
The value 'x' of type 'Array' cannot be appended to the variable 'X' of type 'Array'. The action type 'AppendToArrayVariable' only supports values of types 'Float, Integer, String, Boolean, Object'.


SQL Table:

Column Name: Managers
Row 1: test@test.com;test@test.com

Row 2: test@test.com;test@test.com 


PowerAppsUser99_2-1685112742523.png

 

PowerAppsUser99_3-1685112797477.pngPowerAppsUser99_4-1685112855804.png



Thanks 

 

 
Categories:
I have the same question (0)
  • rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @PowerAppsUser99 ,

     

    Apparently Power Automate does not allow you to create an "array of arrays". I ran some tests and a possible solution here is to convert your child array in a string (you can use the 'join()' expression for that) and, if you need the child array in a later action, split it again. 

     

    With this approach, your would get this result:

    array_input_1: ['test@test.com', 'test1@test.com']

    array_input_2: ['user@test.com', 'user1@test.com']

     

    output: ['test@test.com, test1@test.com', 'user@test.com, user1@test.com']

     

    Please note that you will have all the emails from each row in a same string (and each of these strings being elements of your array variable), and that's why you will have to split it in a future action if you need to access these values individually.

     

    Let me know if it works for you or if you need any additional help.

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard