diff --git a/generators/generator-bot-enterprise-assistant/generators/app/templates/botName.dialog b/generators/generator-bot-enterprise-assistant/generators/app/templates/botName.dialog index 043088a8b9..73c92e6802 100644 --- a/generators/generator-bot-enterprise-assistant/generators/app/templates/botName.dialog +++ b/generators/generator-bot-enterprise-assistant/generators/app/templates/botName.dialog @@ -139,6 +139,13 @@ }, "activity": "${SendActivity_bGYBta()}" }, + { + "$kind": "Microsoft.DeleteProperty", + "$designer": { + "id": "JoL99F" + }, + "property": "conversation.activeSkill" + }, { "$kind": "Microsoft.CancelAllDialogs", "$designer": { @@ -496,7 +503,7 @@ "eventValue": "Calendar" } ], - "condition": "=turn.recognized.score > 0.8" + "condition": "=turn.recognized.score > 0.8 && conversation.activeSkill != 'Calendar'" }, { "$kind": "Microsoft.OnIntent", @@ -522,7 +529,7 @@ "eventValue": "People" } ], - "condition": "=turn.recognized.score > 0.8" + "condition": "=turn.recognized.score > 0.8 && conversation.activeSkill != 'People'" }, { "$kind": "Microsoft.OnDialogEvent", @@ -557,6 +564,14 @@ { "value": "Calendar", "actions": [ + { + "$kind": "Microsoft.SetProperty", + "$designer": { + "id": "Fvjb09" + }, + "property": "conversation.activeSkill", + "value": "Calendar" + }, { "$kind": "Microsoft.BeginSkill", "$designer": { @@ -576,6 +591,14 @@ { "value": "People", "actions": [ + { + "$kind": "Microsoft.SetProperty", + "$designer": { + "id": "cx0OI0" + }, + "property": "conversation.activeSkill", + "value": "People" + }, { "$kind": "Microsoft.BeginSkill", "$designer": { @@ -594,6 +617,13 @@ } ] }, + { + "$kind": "Microsoft.DeleteProperty", + "$designer": { + "id": "2rIt4u" + }, + "property": "conversation.activeSkill" + }, { "$kind": "Microsoft.IfCondition", "$designer": { @@ -625,4 +655,4 @@ "generator": "<%= botName %>.lg", "id": "<%= botName %>", "recognizer": "<%= botName %>.lu.qna" -} +} \ No newline at end of file diff --git a/generators/generator-bot-enterprise-calendar/generators/app/templates/dialogs/CreateEventDialog/language-generation/en-us/CreateEventDialog.en-us.lg b/generators/generator-bot-enterprise-calendar/generators/app/templates/dialogs/CreateEventDialog/language-generation/en-us/CreateEventDialog.en-us.lg index 589d648dfc..92d6821237 100644 --- a/generators/generator-bot-enterprise-calendar/generators/app/templates/dialogs/CreateEventDialog/language-generation/en-us/CreateEventDialog.en-us.lg +++ b/generators/generator-bot-enterprise-calendar/generators/app/templates/dialogs/CreateEventDialog/language-generation/en-us/CreateEventDialog.en-us.lg @@ -43,7 +43,7 @@ # CreateConfirmNotUnderstood() [Activity - text = Sorry, I didn't understand that. ${CreateConfirmPrompt()} + text = Sorry, I didn't understand that. ${CreateConfirmText()} attachments = ${json(EventDetailEditCard($event))} ]