Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OnNextPrompt trigger #3315

Open
chrimc62 opened this issue Jun 10, 2021 · 0 comments
Open

Add OnNextPrompt trigger #3315

chrimc62 opened this issue Jun 10, 2021 · 0 comments
Assignees
Labels
feature-request A request for new functionality or an enhancement to an existing one. generated Generated dialogs related issues

Comments

@chrimc62
Copy link
Contributor

chrimc62 commented Jun 10, 2021

Currently for prompts generation builds an OnEndOfActions trigger with a condition that has has !$ of the property that is in the Ask as ExpectedProperties. To make this clearer we could add a new trigger OnNextPrompt.  It would require an Ask as an action and would mine the Ask.ExpectedProperties for the ! properties and the LG template to find the required properties.  This is similar to what PVA does where the template missing variables affects the control flow.  The plus is that the condition is computed and derived from what people are doing. The minus is that the condition is no longer explicit. We should also pass through $askIf and add to the implicit condition via that.

@chrimc62 chrimc62 added generated Generated dialogs related issues feature-request A request for new functionality or an enhancement to an existing one. labels Jun 10, 2021
@chrimc62 chrimc62 self-assigned this Jun 10, 2021
@chrimc62 chrimc62 changed the title Add OnPrompt trigger Add OnNextPrompt trigger Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. generated Generated dialogs related issues
Projects
None yet
Development

No branches or pull requests

1 participant