Skip to main content
Community site session details

Community site session details

Session Id : Kbdk5UAJEBnd+lxuylA67r
Power Automate - Using Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 18 May 2018 13:55:38 by

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?

  • Verified answer
    v-yuazh-msft Profile Picture
    on 22 May 2018 at 06:35:40
    Re: Check if a column cell(field) is blank when an item is created or modified: Switch case Problem

    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete