web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

allowing only one booking to be traveling or in progress

(0) ShareShare
ReportReport
Posted on by 5

Hy everyone,

I need to configure a restriction in field service, which consists of allowing only one booking to be traveling or in progress at the same time. If the resource tries to change a booking to in progress when he already has another in this status, the system should launch an alert indicating that there is another reservation in progress or travel. Any idea to configure this restriction?

I have the same question (0)
  • John Holmes Profile Picture
    260 on at

    In the old Resco app I created a aggregate variable On Load of Bookings for the current user that were 'In Progress'

    Then a condition

    IF Count = 0

    OR Current Status was In Progress

    THEN Show Booking Status

    ELSE

    IF Count Greater than 0

    THEN Hide Booking Status

    Guess this would now need to be done in JS

  • Suggested answer
    Gabriel Dias Junckes Profile Picture
    2,428 on at

    There is no OOTB functionality to handle this. Because the technicians work offline you will have to add JavaScript to handle it on the mobile.

  • Suggested answer
    Community Member Profile Picture
    on at

    A simple plugin or JS code can easily manage type this of restriction (maybe a plugin is the better approch because can be triggered in the pre-validation event).

    Before the submittion, it can retrieve all the rows in the booking entity, and check if your codnition is verified.

    If yes, it throws an exception to the user.

  • VictMad Profile Picture
    5 on at

    Thanks,

    Do you perhaps know of a web page, video tutorial or some other resource that I can use as a guide to implement the necessary code?

  • VictMad Profile Picture
    5 on at

    The plug in approach seems interesting to me, any resources that you can suggest to me to better understand how it works

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 32

#2
ManoVerse Profile Picture

ManoVerse 28 Super User 2026 Season 1

#3
Goloknath Profile Picture

Goloknath 26 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans