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 / Conditional Triggers w...
Power Automate
Answered

Conditional Triggers with SharePoint

(0) ShareShare
ReportReport
Posted on by 716

Hello Power Automate Community,

I hope you can help please.

I'm using the SharePoint connector trigger called "When an item is created or modified".

I only want this Flow to run on a certain condition, which is:

 

When an item is modified

And

The field StatusReason = Send Approval Email Owner

 

The StatusReason field in SharePoint is a Choice field.

The output of the trigger for StatusReason on a specified record is this:

 

"StatusReason": {
                           "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
                           "Id": 4,
                           "Value": "Send Approval Email Owner"
                          },
                          "StatusReason#Id": 4,

 

What conditional trigger do I need please to only run the Flow when StatusReason = Send Approval Email Owner?

Any help would be greatly appreciated. Thanks very much,

Garry

Categories:
I have the same question (0)
  • Verified answer
    efialttes Profile Picture
    14,756 on at

    Hi!

    I would try with

    @equals(triggerBody()?['StatusReason']?['Value'],'Send Approval Email Owner')

    Hope this helps

  • CU01081947-0 Profile Picture
    716 on at

    Hello @efialttes,

    Thanks for the reply. When I add your conditional trigger in the Flow's trigger it then never runs.

    I also tried adding a conditional trigger from @ScottShearer, which is found on his blog, but again the Flow never runs. Thanks Scott.

    As soon as I remove the conditional trigger it runs.

    Odd behaviour, I must be doing something wrong.

    Thanks very much,

    Garry 

  • Verified answer
    CU01081947-0 Profile Picture
    716 on at

    Hello @efialttes,

    Your solution was correct, so I've marked it.

    The issue was that no conditional trigger was running.

    When I looked at @MattWeston365 excellent post, cheers Matt, I saw in the "Settings" of the trigger he had "Split On" enabled and then "Array" enabled. That, strangely was not enabled in my trigger. Once I enabled it your conditional trigger worked.

     

    Settings in trigger.png

     

    Thanks for your help,

    Garry 

  • efialttes Profile Picture
    14,756 on at

    @GarryPope 

    I also marked your last post as Solution.

    Thanx for sharing! People like you make this community great 👍

     

     

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
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard