Skip to main content

Notifications

Power Automate - General Discussion
Answered

Split 'Array' cannot be appended to the variable

(0) ShareShare
ReportReport
Posted on by 94

Hello,

I used the split function (used several times without problems) on a text string divided by the | character
The process is blocked by reporting

"The action type 'AppendToArrayVariable' only supports values ​​of types 'Float, Integer, String, Boolean, Object'."

Immagine 2022-09-02 103259.jpg

From the error notification it is evident that the vector is made up of text strings; so i don't understand why the process stops.

 

This is the function:

split(outputs('MultiRow'),'|')

 

If anyone has a suggestion .. Thanks

  • 3tsolutions Profile Picture
    3tsolutions 94 on at
    Re: Split 'Array' cannot be appended to the variable

    it's true you're right, thanks for the clarification.

  • Verified answer
    okeks Profile Picture
    okeks 802 on at
    Re: Split 'Array' cannot be appended to the variable

    The problem is, that Split() creates an array, but you can't append an array to an array with the Append to array function.

    You can either use Compose and the Union() function or put the output of the split() function into an Apply to each and append the values with the Append to Array action.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard