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 / 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
    Microsoft Employee 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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 450

#2
Haque Profile Picture

Haque 366

#3
Valantis Profile Picture

Valantis 349

Last 30 days Overall leaderboard