botframework-solutions icon indicating copy to clipboard operation
botframework-solutions copied to clipboard

VA not canceling skill dialog fully

Open litofish opened this issue 7 years ago • 8 comments

What project is affected?

Virtual assistant

What language is this in?

CSharp

What happens?

When I cancel in the middle of a skill dialog within a VA it goes through all of CancelDialog, but then when I try to invoke a new dialog it is still stuck in the previous dialog. I've tried with a number of skills and it seems to only happen when you cancel in the middle of a prompt that uses a prompt validator.

cancel_error

What are the steps to reproduce this issue?

In a VA, start a skill dialog and cancel in the middle of the dialog.

litofish avatar Aug 16 '19 21:08 litofish

This will be fixed by #2135 . There's a PR out #2136

lzc850612 avatar Aug 16 '19 21:08 lzc850612

Duplicate see above for details

Dewain27 avatar Aug 19 '19 18:08 Dewain27

Hi, we have the below scenario:-

  1. Identify the skill intent and open dialog a. bot prompts to enter user some input
  2. user enters a text pertaining to another skill intent
  3. we want the control to go to that skill and have the execution complete
  4. once the above step is done we want execution to resume from dialog a. is there any sample to refer to. thanks,

Kumar3010 avatar Sep 10 '19 03:09 Kumar3010

We have fallback but it is unable to resume when it is another skill https://github.com/microsoft/botframework-solutions/pull/2076. @DingmaomaoBJTU

xieofxie avatar Sep 10 '19 04:09 xieofxie

Hi @xiefoxie, do we have to write any code in virtual assistant to handle the fallback envent or oneventsasync would take care. thank you

Kumar3010 avatar Nov 07 '19 04:11 Kumar3010

@Kumar3010 SkillIntentRecognizer is needed in VA as the pr https://github.com/microsoft/botframework-solutions/pull/2076.

It is not in current branch now as this function is being redesigned https://github.com/microsoft/botframework-solutions/pull/2665. But if you modify your VA and skill as the #2076, it should work.

xieofxie avatar Nov 07 '19 09:11 xieofxie

@Kumar3010 It is being removed now https://github.com/microsoft/botframework-solutions/pull/2672, maybe you should wait~

xieofxie avatar Nov 08 '19 01:11 xieofxie

@xieofxie - could you please let us know when this fallback event would be available. we have tried using semanticactions to pass data to the VA but unable to handle or get this in the VA. any sample would be highly appreciated.

Kumar3010 avatar Nov 22 '19 09:11 Kumar3010