Skip to main content

Notifications

Power Automate - General Discussion
Answered

Update choice field using HTTP Request action

(0) ShareShare
ReportReport
Posted on by 413

Hello,

 

Sorry for asking this question. I'm trying to find an answer but i don't seem to find the right answer.

 

I'm trying to use an HTTP Request action to update a choice field on an item.

Field is called "Status". Values of the field are "Level 0", "Level 1", "Level 2".

 

I'm trying to update the Status of a specific item to "Level 2"

 

I tried several thing and finally ended up with this but still have an error

 

2021-03-05 13_34_21-Edit your flow _ Power Automate.png

 

Could someone help me on this and tell me what's wrong in what i'm doing ?

 

Thanks a lot for your help

 

  • SirGunther Profile Picture
    SirGunther 10 on at
    Re: Update choice field using HTTP Request action

    For anyone who wants to do a multi-choice column, I spent too long trying to find a solution. Hopefully, it helps someone else out there. 

    Just do everything else that @Kadd did and use the syntax below.

    {
    "yourColumnName": ["Test1", "Test2", "Test3"]
    }

  • Verified answer
    Kadd Profile Picture
    Kadd 413 on at
    Re: Update choice field using HTTP Request action

    OK !! i think i did it....well from my test it works.

     

    In fact, it's the same as updating a simple text field. I decided to get back to the action's configuration for a simple text field and readapted from that point. I could do this for a text field earlier today but thought it would be different for choice fields...first because of the things i found on the net and second because in Powerapps when using functions, choice fields need a complex block. (complex for me cause i never remember how to write it). So i've been a bit stupid, i didn't test that before and i'm sorry i disturbed you all.

     

    For those who might be interested, this is the solution

    2021-03-05 17_06_38-Edit your flow _ Power Automate.png

     

    Voila ! 🙂

  • Kadd Profile Picture
    Kadd 413 on at
    Re: Update choice field using HTTP Request action

    Hello @mahoneypat ,

     

    Thanks a lot for your reply.

     

    I found these sites earlier and tried to arrange something with what but they use Create/ Update item actions (using these actions i know how to do it).

     

    The thing is i'm trying to do the same with an HTTP request. I couldn't manage to apply what i read on the sites to an HTTP Request action. (if you look at my screenshot, you will see i use an odata.type ...that i tried to use from the second site you gave me (after trying other ways) because my last error message was saying that the type is not defined.

     

    so i'm still a bit stuck.

     

    Thanks and regards  

  • mahoneypat Profile Picture
    mahoneypat 1,720 on at

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard