Skill active dialog state is always null
What project is affected?
Skills developed in c# when integrated with VA(c#)
What language is this in?
C#
What happens?
when there is a handoff to the skill from vA. the active dialog in the VA tells only the skill dialog name but not the dialog you are in the skill
What are the steps to reproduce this issue?
provide an utterance of skill integrated to vA. suppose there is a weather dialog in skill which prompts for the location. then in VA active dialog would be "Skill.weatherdialog" and the dialog state is always null in the VA. it should tell that there is a prompt dialog which is open in the skill in the VA(active dialog)
What were you expecting to happen?
the dialog state of the skill should be shown in the VA
Can you share any logs, error output, etc.?
Any screenshots or additional context?
could you please prioritize this and triage. this is very critical feature and every customer needs it
Hi @kumar3010, since the VA and each skill are all separate bots, they maintain their own separate dialog stacks. Because of this, the VA does not have visibility into the dialog stack of the skill. They communicate via API calls, so the stack is not shared between them. The reason you only see the SkillDialog as the active dialog in VA, is because it IS the active dialog in VA. Manipulating the activeDialog id in the VA artificially could have unintended consequences to message processing, so we should not manipulate the activeDialog id manually.
Can you explain a bit more about the scenario you are trying to enable by seeing the active dialog of the skill in the VA? There might be another way we could help you achieve it.
thank you @lauren-mills for your reply. we have a use where user can switch language from english to german. we dont want the user to change his language preference in the middle of any dialog flow. user always communicates with VA and VA inturn directs to skills based on utterance. appreciate your help if you can let us know a way to recognise if the user is in between of a dialog (in skill) from VA
hi any update on the scenario which i have mentioned. @lauren-mills
There should never be an instance where the user is talking to a skill, and the skill's dialog stack is empty. Whenever the skill's dialog stack is empty, the skill is ended and the SkillDialog is removed from the VA's dialog stack. So, by that principle, if there is a SkillDialog on the top of the stack, you can assume the user is in the middle of a dialog and should not be able to change languages.
Closing due to inactivity. Please reopen as needed.