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 / Trigger Conditions 'Wh...
Power Automate
Unanswered

Trigger Conditions 'When an item is created or modified' choice field

(0) ShareShare
ReportReport
Posted on by 4

Hi 

 

I a have a SP list and I am trying to add a trigger when the status is complete to send an email with the details Sharepoint fieldepoint is a choice ,column so I think what is making it more difficult. I was going to try a calculated field as single line text based on the ,status, but that did not work either. 

 

The flow works like this the status is complete 

The client name = ABC

Send email

 

I have tried multiple ways  and different error messages

 

@equals(triggerOutputs()?['Status']?['Value'], 'Complete')Cannot read properties of undefined (reading 'properties')

 

@equals(triggerBody()?['Status']?['Value'], 'Complete')

The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['value']' is of type 'Null'. The result must be a valid array.

 

iK1_0-1659455627469.png

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Caspar_Rubin Profile Picture
    831 on at

    Hey,

     

    this works for me:

    Caspar_Rubin_0-1659456358911.png

     

    @equals(triggerBody()?['Status']?['Value'],'Completed')

     

    My choice field has a choice of Draft or Completed.

     

    Caspar_Rubin_1-1659456457661.png

     

     

    Are you sure, the internal name of your Status column is really Status? Maybe the column has been renamed?

     

    You can find the internal name of every column by opening the list settings

     

    Caspar_Rubin_2-1659456553258.png

    then clicking on the Column in question:

    Caspar_Rubin_3-1659456608166.png

    and the checking the URL Parameter after &Field=

    that's the real name of the column and it never changes, even if you rename the column.

    Caspar_Rubin_4-1659456660491.png

     

     

    lets us know, 

    cheers

     

     

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @iK1 

    you should use the following expression:

     

    @equals(triggerOutputs()?['body/Status/Value'], 'Completed')

     

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • iK1 Profile Picture
    4 on at

    Thanks.. I created the flow and it worked. 

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard