Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

prevent double booking of workorder

(0) ShareShare
ReportReport
Posted on by 385

Hello,

Anyone have an idea how to create a rule that prevents users from scheduling a work order twice if it already has a schedule? 

Thanks

  • Al Iggs Profile Picture
    Al Iggs on at
    RE: prevent double booking of workorder

    Correct, the current version of the FS Portal combines creation of work order and booking, but that might change. What you can do however is call the scheduling API yourself. That would give you a chance to check the work order upfront and then decide whether you only allow rebooking or new bookings.

  • alexyou Profile Picture
    alexyou 385 on at
    RE: prevent double booking of workorder

     once again thank you very much for your reply.

    Regarding the self-service option I'm not sure how exactly limitation  for booking are working there - The best option for me is to create the work order and send a link for a customer to schedule a specific work order which is seems to me at the moment impossible. So I'm looking other ways to prevent my customer to double booking the same service and/or work order

  • Al Iggs Profile Picture
    Al Iggs on at
    RE: prevent double booking of workorder

    #1 definitely yes.

    #2 I'm pretty sure the rule will not fire as it is only triggered when the actual booking is generated (not when retrieving slots). Then the C2 portal would need to give you an error afterwards.

    However I don't think this is relevant, as you could check for existing bookings upfront and only offer rescheduling the existing booking. Or would you actually allow the customer to book another slot after 24+ hours?

  • Fannie30 Profile Picture
    Fannie30 2,990 Moderator on at
    RE: prevent double booking of workorder

    Yes, you could do that through a booking rule.  I am not sure if it would apply to Self-Service Scheduling, but I can check for you.  

  • alexyou Profile Picture
    alexyou 385 on at
    RE: prevent double booking of workorder

    Thanks so much for the reply 

    Two short follow-up questions:

    1. Do you believe that through booking rule I can also check if there has been an scheduled in the last 24 hours and prevent further scheduling for the next 24 hours?

    2. I know there is not much information about it, but do booking rule will aply on the Self-service scheduling for your customers ?

  • Verified answer
    Al Iggs Profile Picture
    Al Iggs on at
    RE: prevent double booking of workorder

    The work order's resource requirement has a field "remaining duration", it will show 0 if the work order has been fully scheduled. If you utilize manual scheduling or schedule assistant, just use a booking rule that returns an error if remaining duration=0. RSO would by nature not double-book a requirement.

    Booking rules: docs.microsoft.com/.../set-up-booking-rules

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans