Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 7025

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 2162

Deprecated: Hook imagify_allow_picture_tags_for_webp is deprecated since version 2.2! Use imagify_allow_picture_tags_for_nextgen instead. in /www/collab365_296/public/wp-includes/functions.php on line 5758
How to use the 'Condition' control action in Power Automate - Collab365
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Warning: Undefined array key "url" in /www/collab365_296/public/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/smart-site/classes/class-tvd-smart-shortcodes.php on line 85

What is a condition?

The condition control is the bread and butter action for building what’s known as ‘conditional logic’ for your Power Automate flows. When creating flows in Power Automate for the first time – you’ll be drawn to using standard connector actions which are responsible for carrying out tasks and events both within and outside the Microsoft 365 ecosystem. However, you’ll quickly learn that you need to implement conditional logic for your solutions to improve flexibility and give you more control over the actions that take place.

How to write a condition

A condition inside Power Automate will return either a ‘True’ or ‘False’ output to a query.

Queries for conditions are better understood by many as:

[VALUE 1] [OPERATOR] [VALUE 2]

The operator defines how we are comparing the 2 values. In plain English we could say, Is the Car Colour (Value 1) equal to (Operator) Light Blue (Value 2).

Or, Is the current time (Value 1) greater than (Operator) 12:00 am (Value 2)

Or, does my shopping list (Value 1) contains (Operator) a loaf of bread (Value 2)

As you can see, we can quickly identify a pattern and possible use case for a condition.

The output for a condition can be one of two options. Yes or No. Both variations of the query can also include their own actions or events that take place if the condition is met or not met. For example, you could send a message in Teams if a condition is met or terminate the flow entirely if it is not (using the terminate action).

(Visited 1,033 times, 1 visits today)

About the author 

Connor Deasey (Collab365)

Summit Bundle

Get 200+ hours of Microsoft 365 Training for 27$!

Master Office 365, Power Platform & SharePoint & Teams With 200+ Hours Of Training Videos and 108 Ebooks in the Collab365 Academy. This offer is insane and is only available for a limited period.