Announcements
No record found.
Hello guys
I have a problem with a booking rule. When a execute the booking rule in a scheduler assistan turn back an error.
The message:
I write a second function because I think that in schedule assistant need more params but I just use one.
function BookingInWorkHours(sbContext) {
debugger;
alert("Hello");
var start = sbContext.newValues.StartTime.toISOString();
var end = sbContext.newValues.EndTime.toISOString();
return IsAvailable(sbContext.newValues.ResourceId, start, end);
}
I have an example here - www.daymandynamics.com/.../
But its quite dated now, but it should help you.
I appreciate your example. But my problems its when I used de scheduler assistant.
Booking rule works in schedule board but if a press this button
and select a resource and press the button booking this error is triggered
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 36
Mallesh Deshapaga 32
ManoVerse 30 Super User 2026 Season 1