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 / Compose raw output typ...
Power Automate
Answered

Compose raw output type is string instead of array

(3) ShareShare
ReportReport
Posted on by 115
hi there,
 
I'm beginner with power automate, sorry if my post is a dumb one!
 
I can't get an array type output out of a compose action using a split fonction: the output is an array converted in string.
 
my fonction is written this way:
split(outputs('Html_en_texte')?['body'], variables('lineBreak'))
my output is this one:
" [\"weekly report - S36\",\"\",\"test_test_test (1)\",\"\",\"TVBRAS\",\"\",\"\"]"
 
and my input value is:
"body": "weekly report - S36\n\ntest_test_test (1)\n\nTVBRAS\n\n"
 
according to all post I've seen it should be an array.
 
any ideas?
 
 
 
 
 
 
Categories:
I have the same question (0)
  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    In neither your screen shot or in your question you show what you are using in your variable. That could be the cause of your issue. How are you defining the variable lineBreak?
  • SP-04091518-0 Profile Picture
    115 on at
    here is a screen shot of my flow
     

    and the results I get:




  • Verified answer
    SP-04091518-0 Profile Picture
    115 on at
    i've solved the problem by by passing the compose action
     
     
    I use the split function directly as an input for the filter 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

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