Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Gl3a6zy9vTVHJvawG44b8d
Power Automate - Building Flows
Answered

Compose raw output type is string instead of array

Like (3) ShareShare
ReportReport
Posted on 4 Sep 2024 15:28:44 by 81
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?
 
 
 
 
 
 
  • Verified answer
    SP-04091518-0 Profile Picture
    81 on 05 Sep 2024 at 08:19:36
    Compose raw output type is string instead of array
    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
  • SP-04091518-0 Profile Picture
    81 on 05 Sep 2024 at 07:15:58
    Compose raw output type is string instead of array
    here is a screen shot of my flow
     

    and the results I get:




  • David_MA Profile Picture
    10,947 Super User 2025 Season 1 on 04 Sep 2024 at 17:53:51
    Compose raw output type is string instead of array
    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?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 135 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 132 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 125

Overall leaderboard
Loading started
Loading complete