Hi there,
We are building a new chatbot system for a US client and I would like to integrate a scheduler into it. Which means that the customers can actually schedule a meeting with another person (not customer reps). But unfortunately the time and date scheduling does not work properly. For example, if a A schedules a meeting with B at a specific time and also another person C schedules the meeting with B at the same time, it clashes. And the system does not tell them that B already has another meeting. This is one recent issue and there are several other issues. If anyone has created a chatbot with NLP, PyTest, Angular, SpaCy, SVM, PyTorch; can you please respond?
Thanks
Hi Ric Phil,
Greetings from Syncfusion support.
We have validated your query “the system does not tell them that B already has another meeting” at our end. You can prevent adding an appointment in an already scheduled time slot by setting up args.cancel value as true with the help of the EJ2 Schedule isSlotAvailable method on the actionBegin event of the Schedule as shown in the below code snippet.
[Default.aspx]
|
actionBegin: function (args) { if (['eventCreate', 'eventChange'].indexOf(args.requestType) > -1 && !scheduleObj.isSlotAvailable(args.data)) { alert("A meeting already scheduled on the selected time slot"); args.cancel = true; } } |
Kindly try the shared solution and let us know if you need any further assistance on this.
Getting started: https://ej2.syncfusion.com/javascript/documentation/getting-started/webforms/
API:
https://ej2.syncfusion.com/javascript/documentation/api/schedule/#isslotavailable
https://ej2.syncfusion.com/javascript/documentation/api/schedule/#actionbegin
Regards,
Ravikumar Venkatesan
If this post is helpful, kindly consider accepting it as the solution so that other members can locate it more quickly.
thanks let me have my team try it out. We are currently working on a huge chatbot development services project and i bet that we need all the help we can. Cheers for this community!
Hi Ric Phil,
Thanks for the update.
Kindly try the shared solution and let us know if you need any further assistance on this.
Regards,
Ravikumar Venkatesan