Skip to main content
Post a question

Notifications

Community site session details

Community site session details

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

prevent double booking of workorder

Like (0) ShareShare
ReportReport
Posted on 17 May 2021 13:47:35 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
    on 18 May 2021 at 06:59:14
    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
    385 on 17 May 2021 at 16:27:50
    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
    on 17 May 2021 at 16:23:24
    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
    2,990 Moderator on 17 May 2021 at 14:58:19
    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
    385 on 17 May 2021 at 14:48:13
    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
    on 17 May 2021 at 14:40:58
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 293,474 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,592 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete