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 Automate
Answered

Trigger conditions

(0) ShareShare
ReportReport
Posted on by 185

Hi all,

 

I have a flow that is triggered when a SharePoint list item is edited.

 

The current condition is when a Yes/No column called "Added to SQL" is set to yes then the flow should trigger.

 

@equals(triggerBody()?['AddedtoSQL'], true)


I would like to add a second condition to avoid the flow to trigger again. This is an extract of my trigger output:

 

 "body": {
 "@odata.etag": "\"7\"",
 "ItemInternalId": "67",
 "ID": 67,
 "AddedtoSQL": true,
 "SQL": "No",
 "SharePoint": "Yes",

 

So I would like the trigger to execute when:

1) Added to SQL is true

2) SQL is No

 

I had this but its not working:

 

@And(equals(triggerBody()?['AddedtoSQL'], true), equals(triggerBody()?['SQL'], false))

 

Does the condition need to be of value No or false?

 

Thanks,
David

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Try

     

    @And(equals(triggerBody()?['AddedtoSQL'], true), equals(triggerBody()?['SQL'], 'No'))
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi David,

     

    The column 'SQL' looks like a single line of text so pls modify the trigger condition as shown below:

    @and(equals(triggerBody()?['AddedtoSQL'], true), not(equals(triggerBody()?['SQL'], 'Yes')))

    If 'SQL' is not single line of text then pls share its data type.

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard