Scheduler for a chatbot app

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



3 Replies 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team August 29, 2022 11:31 AM UTC

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/

UG: https://ej2.syncfusion.com/javascript/documentation/schedule/appointments/#restricting-event-creation-on-specific-time-slots

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.



RP Ric Phil August 30, 2022 05:21 AM UTC

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!



Marked as answer

RV Ravikumar Venkatesan Syncfusion Team August 30, 2022 05:27 AM UTC

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


Loader.
Up arrow icon