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

Community site session details

Session Id : DQCi7/HsV2bFEkxO801n+X
Power Automate - General Discussion
Unanswered

Condition based on a specific value in text calculated column

Like (0) ShareShare
ReportReport
Posted on 10 Feb 2024 06:09:08 by

I'm trying to set email alerts if the document status (which is a calculated text column) changes to ' Due for review '

I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,266 Moderator on 10 Feb 2024 at 11:16:26
    Re: Condition based on a specific value in text calculated column

    @Simswati ,

    This are just some thoughts ... 

    Actually I'm afraid that is a little bit tricky if your data source is Sharepoint, because there is no way to control what column change generate the trigger in Sharepoint. 

    You can control the trigger start based on a column value, like @SudeepGhatakNZ suggested, but the flow will trigger every time you change any columns values and the calculated column has 'Due for review' as value.  

     

    What I suggest is to have a supplementary column to keep under control the unwanted flow runs. 

    Main flow:  

    Trigger with the trigger condition set to:

     

    @and(equals(triggerBody()?['calculatedColumn'],'Due for review'),equals(triggerBody()?['runAllowed'],'true'))

     

    Action to send email

    Action to update the current item - runAllowed column - with 'false'

     

    Secondary flow:

     Trigger with the trigger condition set to:

     

    @and(not(equals(triggerBody()?['calculatedColumn'],'Due for review')),equals(triggerBody()?['runAllowed'],'false'))

     

     Action to update the current item - runAllowed column - with 'true' 

     

    Hope it helps !

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 10 Feb 2024 at 09:15:52
    Re: Condition based on a specific value in text calculated column

    @Simswati ,

    You could try Trigger conditions

    Trigger conditions - just what I needed - Powering your Apps (sudeepghatak.com)

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard