Skip to main content

Notifications

Community site session details

Community site session details

Session Id : nZxlTIRUGHIdHbMeoeUsJ3
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,624 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started