Sub-Dialogs on Interruptions

Hello,

In trying to maximize re-usability, we define common logic/sequence of nodes into a separate dialog, where multiple intents may just “call” them. However, upon testing, we found that when a discard-interruption is made within the sub-dialog, the processing would still proceed for the calling dialog.

Basically, what we are looking is how to configure the dialogs, example: SubDialog, IntentA, IntentB with IntentA and IntentB calling SubDialog, such that when an interruption is done on SubDialog, it will mean the calling Intent (either A or B) is interrupted (put on hold or discarded). Is this even possible? If so, kindly provide solution.

Thanks,
SheelaD

Yes, this can be achieved by using “Manage interruptions” option at your sub dialog. Please refer to the sample configuration wherein the bot has “sub intent” as a “sub intent only dialog” being called as mapped intent both at “intent one” and “intent two”.

image

image

image

image

Here at “Manage Interruptions” of “sub intent”, I have managed to have different settings when the “sub intent” is being interrupted by “intent one” or “intent two”

image

image

image

Please observe the behavior in run time when “sub intent” is being interrupted by “intent one” and “intent two”
image

image