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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Check if a column cell...
Power Automate
Answered

Check if a column cell(field) is blank when an item is created or modified: Switch case Problem

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I am having trouble with this, first I figured out you need to use a switch case to check a specific column so it doesnt send my email when any of my other simliar flows get triggered:

 

1. But this has limitations it only alows an equals funtion: and doesnt allow expersions to check for null values(my blank cell)? 

 

2. I am also just trying to check if a columns field, which shows dates(MM/DD/YYYY)  is past a week from our current time, I have all the logic done, just trying to figure out the same problem with this switch case...where I cant specify if it equal a certain date because they are all different.

 

- Should I make conditions within the switch case? and if so what do I put in the switch case equals to?

 

Is there any way for this to work?

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @  mmkrapez,

     

     

    For your first Switch case problem:

    The Switch case allows an equals funtion and doesn't allow expersions to check for null values as you said, if you would like to check for null value,you could add a Condition to achieve your needs.

     

    I have made a test on my side,you could refer to screenshot below to create the flow:

    Capture.PNG

     

    The expression in the Condition as below:

    @empty(triggerBody()?['Email'])

     

    You could refer to link below to learn more about the workflow definition language:

    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

     

    For your second Switch case problem:

    The Switch case allows the equals funtion,if you would like to check if a data is past a week from current time,You could add a Condition to achieve your needs.

     

    I have made a test on my side,you could refer to screenshot below to create the flow:

    Capture.PNG

     

     

    Please let me know if your problem could be solved.

     

    Regards,
    Alice Zhang

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard