web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power automate to tigg...
Power Automate
Answered

Power automate to tigger my flow when When an item is created or modified

(0) ShareShare
ReportReport
Posted on by 50

Hi Guy's, i am struggling to trigger my flow when only "Assigned to" column in my share point list is changed by the user by selecting an email id from my assigned to which is a choice column.

when the change happened I am receiving the below error message.

 

The API 'sharepointonline' returned an invalid response for workflow operation 'When_an_item_is_created_or_modified' of type 'OpenApiConnection'. Error details: 'The API operation 'GetOnUpdatedItems' requires the property 'body/value/0/Assigned_x0020_to' to be of type 'String' but is of type 'Object'.'

Any help please?

Below is my flow

 

flow 1.JPGflow 2.JPG

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @RV_KONDRA ,

    try to create the trigger condition using the 'Filter array' action - add the action, use its GUI to define the condition, switch to advanced mode, copy/paste it as a trigger condition.

  • mahoneypat Profile Picture
    1,720 on at

    If it is a person column, you likely need this syntax (replace the red text with your column name).  You can also add a compose step and choose the Assigned To Value field, and look at the peek code to see the needed syntax to use in your equals in the trigger condition.

     

    triggerOutputs()?['body/PersonColumn/Email']

     

    Pat

     

  • RV_KONDRA Profile Picture
    50 on at

    Hi Tom, thanks for looking into this. I tried the below code but received the below error

    @equals(triggerOutputs()?['body/Assigned to/Value'], 'rpj@PS.co.uk')

    flow 3.JPG

  • RV_KONDRA Profile Picture
    50 on at

    Hi Pat, it's a choice column.

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @RV_KONDRA 

    I did a simple test on my side and you can refer to the screenshots below.

    This is my test list.

    vLilyWmsft_1-1635732033759.png

    Trigger Conditions

    @equals(triggerOutputs()?['body/Assignedto/Value'],'Litest@xxxxxx.com')

    vLilyWmsft_5-1635732687873.png

    Note: 'Assignedto' in the above expression is the internal name of 'Assigened to' column.

    You can find column internal name via List settings -> Click on the column name -> It’s at the end of the URL on the Edit column page, after ‘Field=’.

    vLilyWmsft_2-1635732258451.png

     

    And please select 'Assigned To Value' in 'To' field of Send an email action.

    vLilyWmsft_0-1635731874919.png

    Save and test again.

    Best Regards.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard