Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Need help getting an array into an text body as formated text using enters between the values

(0) ShareShare
ReportReport
Posted on by

I have tried so many things to get this done and so many searches and ways of describing my question that I now post my first question seeking help from the community.

 

I am making a power automate flow to get shifts from the Teams Shifts App to go to outlook calendar. I managed to get everything working so far. It makes an event in Outlook calendar when a shift is created and assigned, it updates the event when changes are made to a shift and deletes the event when the shift is deleted. So far so good.

 

Now I want the list of tasks you can add to a shift to be displayed in the text body of the event, but because you can add multiple tasks, this value is stored in an array. I can't figure out how I get this as a list separated by a return into the text body.

 

I tried using a string variable and appending the values from the array using compose to try and add formating to that (I can add a number and a space and all the characters I want, except for that enter to get a new line (even tried making it a formula using & Char(10), but that doesn't work either.

 

 

 

 

  • VictorIvanidze Profile Picture
    VictorIvanidze 11,855 on at
    Re: Need help getting an array into an text body as formated text using enters between the values

    Use the join() function:

    join(createArray('First', 'Second', 'Third'), decodeUriComponent('%0A'))

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,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard