How multiple users can work on a single dialog task at the same time with different IDs?


(Yoga Ramya Mendu) #1

We would like to work on a dialog task at a time from multiple user Id’s.

(Subrahmanyam Donepudi) #2

@yogaramya.mendu Below is the behavior of platform during design time and at run time.


The platform uniquely identifies the user based on the user id.

If we take web/ mobile client for instance as channel, the user id is based on user identity passed in the index.html file. So even if multiple users are talking to the same bot, the user identity changes for each of the user and the conversations rely on streamid+userid.

During design time:

As of now, when the bot is being worked upon by multiple developers, the dialog task as a resource will be locked to the user who accessed first. When another developer tries to access the resource, a toast message appears on the UI showing the developer who is working on the dialog. The same applies at nodes of KG as well. Once the developer closes the dialog under development, the lock releases and the other developer can take the control.

However, developers could simultaneously work on different tasks present in the bot.