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 Platform Community / Forums / Power Automate / In/Out Board, check if...
Power Automate
Answered

In/Out Board, check if staff is out today or not

(0) ShareShare
ReportReport
Posted on by

I have an [Absence Request] list with the following data:

2017-05-05_1632.png

I have an In/Out Board that gets updated daily from the [Staff Directory] list. The [Staff Directory] list contains the employee's work schedule (we have regular, varies, and alternate work week).  The Flow I created to update the [In/Out Board] based on the [Staff Directory] seems to work.

2017-05-05_1616.png

 

Now, I'm trying to create another Flow that will update the same [In/Out Board] based on the [Absence Request] list.  If the staff is out today, it should indicate the 'activity' (i.e. Vacation, etc) under Today Schedule and 'Out' under In or Out column.

Below is my flow to check if the [is Staff Out Today]. I appreciate it if someone can tell me if the formula is wrong.

@if(and(lessOrEquals(substring(outputs('Start_Date'),0, 10), utcnow('yyyy-MM-dd')),greaterOrEquals(substring(outputs('End_Date'), 0, 10),utcnow('yyyy-MM-dd'))), 'Yes', 'No')

 

 

2017-05-05_1622.png

 

 

Because I can't seem to test it using the preview page -- each time I click to check the subsequent item in the APPLY TO EACH, the value doesnt change from the first item

2017-05-05_1628.png

Any help is greatly appreciated. Thanks and have a great weekend.

 

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    Hi,

     

    I saw you have another similar post here:

     

    https://powerusers.microsoft.com/t5/General-Flow-Discussion/SharePoint-Get-Items-Filtered-by-Date-Recurrence/m-p/33891

     

    Please check replies there to avoid duplicated threads.

     

    Regards,

    Mona

  • Verified answer
    Aethyta Profile Picture
    on at

    @v-monli-msft  Thanks but that was a different question about Get Item filter query. Not a duplicate. But yes, I could have put both questions into one post. Anyway, I'm marking this answered since its working now. I didn't do anything different except re-created everything. But the GET ITEM filter query is still unanswered. 

     

  • VictorIvanidze Profile Picture
    13,073 on at

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