Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Modified Sharepoint List Choice Column Value Change

(0) ShareShare
ReportReport
Posted on by 153

Hi All,

 

I am building a flow to send a custom email alert when a value changes in specific column (which is a choice column).. However i am getting an error. And believe its to do with the "choice" nature of the column..

 

Flow is shown below, 

 

The condiiton is based on the column which is changing, with the switch cases being based on some of the two choice which i want to know about...

 

Flow1.JPG

 

This is the error i am getting after testing.

 

The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@outputs('Get_changes_for_an_item_or_a_file_(properties_only)')?['body/ColumnHasChanged/TOPCOAT']' is not valid. It is of type 'Boolean' but is expected to be a value of type 'String, Integer'.

 

 

Any help would be appreciated.

 

Regards

Craig

 

 

 

 

  • craig_01 Profile Picture
    153 on at
    Re: Modified Sharepoint List Choice Column Value Change

    Ok, i have narrowed down the cause.. On this same list i have another flow which basically either adds or updates the sharepoint list from a SQL Table... Because the "update" is running through all the records, this is then causing the notification update to get triggered..

     

    Any suggestions on the update from SQL

     

    Regards

    Craig

  • craig_01 Profile Picture
    153 on at
    Re: Modified Sharepoint List Choice Column Value Change

    Ok bit of an update. Im getting notifications based on the two status that i want notified about.. However i am also getting notifications from older entries that are the same status... So how do i prevent this, and ensure that the flow is only looking at changes from this point forward?

     

    Regards

    Craig

     

  • craig_01 Profile Picture
    153 on at
    Re: Modified Sharepoint List Choice Column Value Change

    Hey @Caspar_Rubin thanks for the reply.. Under my first trigger "When an item or file is modified", do i need to set any Trigger Conditions under the settings for this, at present i dont have any set within this window.

     

    Within my Get Changes for an Item or a File (Properties Only) my ID, Since, Unit are as below..

    "id""@triggerOutputs()?['body/ID']",
    "since""@triggerOutputs()?['body/{TriggerWindowStartToken}']",
    "until""@triggerOutputs()?['body/{TriggerWindowEndToken}']",
     
    Are these correct, for what i am trying to do?
     
    For my condition, i am using the Dynamic content, TOP COAT FINAL Value field, rather than the Boolean.?
     
    And for my switch i am use the TOP COAT FINAL Value field, which are either DONE or PENDING as the options.
     
    Thanks
     
     
     
     
  • Caspar_Rubin Profile Picture
    830 on at
    Re: Modified Sharepoint List Choice Column Value Change

    Hey, 

     

    I think you need to choose a different Switch "On" value. The "Has column changed..." only returns "true" or "false" (boolean) and not "Done" or "Pending", etc. That's from a field in your SharePoint List, right?


    If i understand your logic correctly, you'll need to choose the Dynamic content value from the Status column of your trigger "When an item or a file is modified"?

     

    Caspar_Rubin_0-1692262140935.png

     

    cheers

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1