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 / Power Automate flow to...
Power Automate
Unanswered

Power Automate flow to update a SharePoint Choice column based on MS form selection

(0) ShareShare
ReportReport
Posted on by 26

Hi Everyone,  I need some assistance in creating a Power Automate flow to create an Item in a SharePoint List when a MS form is submitted. A staff will mark certain tasks as complete using a MS form. This tasks in created as a choice column in SharePoint and need to be updated as [Selection 1]; [Selection 2]; [Selection 3] etc.
I also want to make sure every time the form is submitted the PA flow should update the specific item that is completed by a unique staff only so it does not create multiple rows of the same individual. I am unable to find a solution so the PA flow creates/updates Item and only adds the choice selected in the particular column. 


1. The below form get submitted at different time time intervals when the task has been completed.

SayandSajith1_3-1716785121189.png

2. The PA condition is to check if the Last Name of the Staff exists in the register, If Yes, the flow will update the Item instead of creating a new Item.

SayandSajith1_2-1716784855482.png

3. The flow should create an item or update the item in the below list with out multiple entries of the same staff.
SayandSajith1_0-1716784725421.png

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

    Hi @SayandSajith1 ,

    If I understand correctly,your requirement is to search in the list based on the Last Name submitted by MS Form.

    If the Last Name does not exist in the list, create a new item.

    If the Last Name already exists in the list, update the item.

    The multiple choice in MS Form should also be updated simultaneously to the item.

    If so,I did a test for your reference.

    MS Form:

    vyetonggumsft_2-1716793527498.png

    My Flow Overall Preview:

    vyetonggumsft_1-1716793510706.png

    My Flow Configuration Parameters:

    The internal name of 'Last Name' is 'LastName'. We need to use the internal name of the column in Filter Query.

    vyetonggumsft_6-1716794187416.png

    json()
    
    {
    "Value":
    }

    vyetonggumsft_3-1716793566210.png

     

    length(outputs('Get_items')?['body/value'])

     

    My SharePoint List:

    vyetonggumsft_5-1716793773605.png

    Best Regards,

    Sunshine Gu

  • SayandSajith1 Profile Picture
    26 on at

    Hi @v-yetonggu-msft, thanks for the detailed flow! You have got the requirements right. The output is exactly what I wanted with my flow.
    Just a small difference is that there is no multiple selection in the MS form. The MS form will be submitted multiple times to capture completion of a task by a staff. Q5 has 4 branching questions with choice drop downs. Only one item will need to be passed into SharePoint at a time.

    SayandSajith1_0-1717051575052.png

     

    I followed the same steps you have done anyway to see if it would work. Error - 

    Unable to process template language expressions for action 'Apply_to_each' at line '0' and column '0': 'The template language function 'json' parameter is not valid. The provided value 'PPE Policy' cannot be parsed: 'Unexpected character encountered while parsing value: P. Path '', line 0, position 0.'. Please see https://aka.ms/logicexpressions#json for usage details.'.

    SayandSajith1_1-1717051774486.png

     

  • v-yetonggu-msft Profile Picture
    on at

    Hi @SayandSajith1 ,

    If it's a radio column, take a look at the following test:

    My Flow Overall Preview:

    vyetonggumsft_0-1717055013632.png

    My Flow Configuration Parameters:

    vyetonggumsft_2-1717055116631.png

    length(outputs('Get_items')?['body/value'])

    vyetonggumsft_3-1717055210669.png

    The Result:

    vyetonggumsft_5-1717055359893.png

    Best Regards,

    Sunshine Gu

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