Notifications
Announcements
No record found.
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?
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
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.
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.
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?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 45 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15