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 / Team Shifts notificati...
Power Automate
Unanswered

Team Shifts notification as flow bot with modified time

(0) ShareShare
ReportReport
Posted on by

I created a flow that will send a flow bot notification when a change is made in Team Shifts. 
The bot works great, I am using the modified dates as a condition for the notifications. 
What I found out is that the Save in the edit shift screen will generate a new modified date and then the share with team button will generate another new modified date. So my staff are getting 2 notifications if there was a change and 1 notification even if there was no change. 
Does anyone know of a way I can stop the notifications from being sent on the first save button and only send the notifications to the affective employees on the share with team button? 
I have one condition that will calculate that the change was 2 minutes ago, this eliminates any other change that was done earlier or on a different day. 
Do I need to add more conditions?
 Condition for Shifts flow.png

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

    Hi @Lisea123,

     

    It's no need to add more conditions, your condition could properly approach your requirement. But one point you need to know is after you modified the Shift, share it should delay 2 minutes. For example, once you save the Flow, the Flow runs the first time check the modified time is less than 2 minutes ago and send a notification, then wait for two minutes, and click the share, the Flow will run the second time check the modified time is greater than 2 minutes ago and not send a notification.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • LA-07111402-0 Profile Picture
    on at

    The Teams Shifts app itself will timestamp the shift as being modified when I make the change and click save and then timestamp it again as being modified with a new time when I click share with Team. 
    so there will always be 2 flows ran as there will always be at least one of them that is within the 2 minute window,. 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard