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 / Format HTTP request ou...
Power Automate
Unanswered

Format HTTP request output of previous values of a multi choice column in SharePoint

(0) ShareShare
ReportReport
Posted on by 15,679 Super User 2024 Season 1

Hi everyone,

 

I am constructing a flow to output SharePoint column changes into an Email using Reza Dorrani’s tutorial: https://www.youtube.com/watch?v=Ek4oYWPWfT0

 

However I am experiencing issues with multi-choice columns.

 

For changed values, I am receiving text in the below format:

 

output with characters.png

 

 

To remove the square brackets and quotation marks. I first use a Select action, and select the multi-choice field from dynamic content, and then in the Map property I enter the following expression:

 

 

item()?['Value']

 

 

item value.jpg

 

Then I enter the following expression to be used in the email body:

 

 

join(body('Select_|_reformat_value_proposition'),';')

 

 

join.jpg

 

This successfully strips out of the irrelevant characters.

 

output without characters.png

 

However, I am not clear how to apply the same logic to the old/previous values.

 

output with characters old values.jpg

 

 

Does anyone have any ideas on how to approach this? I am thinking I need to apply some sort of formatting step after the HTTP GET request?

 

 

flow.png

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @Amik ,

     

    I made a sample for you.

    vxiaochenmsft_0-1676858462046.png

    join(variables('var')?['results'],';')

    vxiaochenmsft_1-1676858484460.png

     

    Best Regards,

    Wearsky

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

     

    Thank you @v-xiaochen-msft .

     

    My present workaround is to use a replace expression to remove these characters in a Compose action after the Send an HTTP request to SharePoint. Your solution does seem like the correct direction, but I do not know how to apply it within the context of my current flow.

     

    At present the Apply to Each action populates from the HTTP request into an array. Some of these values are not derived from multi-choice columns and therefore do not have an additional “['results']” node (see “ValueProposition” below, which exists as an array within an array).

     

    Body:

     

    Output.jpg

     

    Apply to each:

     

    flow.png

  • user_ Profile Picture
    20 on at

    Hi, I'm also experiencing the same problem as this one. Were you able to find a solution on this? Thank you!

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard