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 :
Power Platform Community / Forums / Power Automate / Check if Employee is O...
Power Automate
Unanswered

Check if Employee is Out of Office

(1) ShareShare
ReportReport
Posted on by 58

As a Flow Administrator, I need the ability to check if the employee is out of office, so I can have an alternative to the flow when they are not in the office.

 

Example:

My flow creates tasks for individuals in Microsoft Planner.  On days the employee is out of office, I want to exclude/re-assign tasks they will be unable to complete . 

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: Check if Employee is Out of Office

    @Jace 

    One way to see if an individual is out of the office is to check their mail tips for an out of office message.  If the message exists, then the individual is out of the office.  See my example below.

    If the condition is true, then the individual is in the office.

    If the condition is false, then they have an out of office message.

    OOO1.jpg

     

     

  • Jace Profile Picture
    58 on at
    Re: Check if Employee is Out of Office

    This is perfect, thank you!

  • Jace Profile Picture
    58 on at
    Re: Check if Employee is Out of Office

    @ScottShearer 

     

    After running a couple times, I realized my flow was not working as intended.  The condition always returned false when looking for a null value.  I removed the null expression and left it blank.  It now is returning true, but the true test will be when an employee actually turns on Out Of Office.

    flow screenshot.png

     

  • Verified answer
    ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: Check if Employee is Out of Office

    @Jace :

    Your condition should look something like this:

    OOO2.jpg

    You need to enter "null" in the expression window and select "null".

    My condition will return as true if there is no out of office message.

     

  • CU07080701-0 Profile Picture
    on at
    Re: Check if Employee is Out of Office

    I have tested both yours and Jace's conditional test: @Jace is right - null (correctly entered as an expression) doesn't seem to work, but leaving the condition empty does. Nice method though Scott, thanks for suggesting it.

  • Mikko_Martinez Profile Picture
    50 on at
    Re: Check if Employee is Out of Office

    Think this only works if someone sets an OOO message. But if theyre are OOO in their calendar but did not set an OOO message, it will not be detected.

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard