timeslot is already booked validation
Application Type


how can we  apply validation   to book doctor appointment  .  if one Patient select time slot is 1:00-2:00 pm in this time another Patient can not book appointment  it through   mgs like (user is already book this time slot ) .

how we can using validation on saveonclick action of appointment.

Hello Preethi,

You can pass the selected parameters to validate on Save action.

Before saving the data, you can include the validation to check whether the slot is already booked or not.

If you need more precise how to achieve that I need to look into the entity how you had structured it.

Can you share your oml for a closer look?



this is oml file


Hello Preeti,

Update your application as shown below:

Create a server action to check the slot available. and add it before saving the appointment details.

Create server action to check slot availability as below


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.