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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Time Off Requests - Set Flag to prevent existing WF from firing

(0) ShareShare
ReportReport
Posted on by

I have a client that does Time Off Requests 2 different ways, and I want to give them flexibility.  Some users create Time Off Requests from the entity itself, while others create "Booking Blocks" by dragging and dropping a Resource Requirement (which creates an empty Booking with a Booking Block on the Schedule Board.  Basically I want either way to create a Time Off Request, but not duplicate these...

So, I have a real-time WF that fires on create of a Resource Requirement from the Schedule Board.  The idea is that the client wants to use the drag-and-drop to create a Quick Create Time Off Request directly from the Schedule Board.  I have done this so far by doing the following:
1. Create Resource Requirement value of "TIME OFF"
2. Create Synch WF that fires on Booking when related Resource Requirement value = "TIME OFF", and creates a Time Off Request record with Booking Time Off Details (which then sets a block on the Schedule Board).  See Screenshot.  

pastedimage1664987813744v3.png


This is working fine.  However, I found an existing Workflow in the environment that fires on Create of a Time Off Request, and/or change of Start Time and End Time.  If the related Resource Type = User, and creates a Booking with a 'Booking Status = BOOKING BLOCK" when also blocks the Schedule Board.  See screenshot:

pastedimage1664987607555v1.png

pastedimage1664987625055v2.png

So, in effect the Schedule Board will be blocked twice...

I wanted to use the FLAG I set in the first WF to prevent the second WF from firing, but I cannot set a Flag there bc the Booking Entity is not directly related to Time Off Request.  

Any ideas on how to prevent the Second WF from firing?  




I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans