-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check if
ActionExecutionRejected
should be thrown after custom acti…
…on for slot validations was called
- Loading branch information
Showing
3 changed files
with
103 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Forms](forms.mdx) no longer reject their execution before a potential custom | ||
action for validating / extracting slots was executed. | ||
Forms continue to reject in two cases automatically: | ||
- A slot was requested to be filled, but no slot mapping applied to the latest user | ||
message and there was no custom action for potentially extracting other slots. | ||
- A slot was requested to be filled, but the custom action for validating / extracting | ||
slots didn't return any slot event. | ||
|
||
Additionally you can also reject the form execution manually by returning a | ||
`ActionExecutionRejected` event within your custom action for validating / extracting | ||
slots. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters