I'm using the Bot Framework .Net SDK4.
I start my Dialog at MainDialog.
I'm trying to restart my dialog when the watterfall dialog conversation ends. I have multiple watterfall that redirect to other watterfall dialogs, unti they reach the final one.
When I'm using stepContext.EndDialogAsync(null, cancellationToken) or stepContext.CancellAllDialogsAsync(cancellationToken), the dialog just returns to the previous parent dialog.
I also can't just use BeginDialogAsync(nameof(MainDialog), null, cancellationToke) because of circular dependency issues.
Is there anything I can do to restart my dialog at MainDialog, where it reruns tehe dialog again.

I want to restart my watterfall dialog at it's beginning when it ends, using C#
1.1k Views Asked by João Guimarães At
1
There are 1 best solutions below
Related Questions in DIALOG
- Do GTK file chooser dialogs come with localized strings for buttons and titles?
- Flutter Dialog with custom width and no default padding
- How to avoid keyboard flickering when opening AlertDialog with EditText while another EditText is already focused?
- How to render more than 1 dialogs on Jupyterlab?
- Create custom dialog box swiping on all 4 directions
- Getting issue in alert dialog box
- How to click OK button on a dialog
- is any method remove backdrop in dialog tag?
- How do I retrieve the values of a radio group from an HTML dialog?
- I'm not able to find what does e.preventDefault() do in trapFocus function
- Material Toggle Button SharedPreferences
- How to create a new Dialog after cursive.run() has been called?
- Why is my button(id="closeDialogBtn") not working?
- Animating Dialog components on top of each other in Jetpack Compose
- Elements inside of dialog element will not show up when outside of bounds of dialog
Related Questions in BOTFRAMEWORK
- In TeamsFx, how to construct ConversationReference without having a saved reference?
- Add interruption button in Azure bot framework
- Single Tenant Teams Bot Authentication Error: Missing access_token
- How can I enable AAD SSO for bot so we can get user information via Teams toolkit
- Adaptive-card sortby on datetime property
- botbuilder send activity context on stream
- Unable to send message to my bot using direct line
- Cannot access to Azure Graph via BOT MS Teams
- Message alignment to the left for user and bot message bubble
- How to resolve Teams bot ID change after upgrade to TeamsFX v5
- Designing a truly multi-tenant ms teams app
- Microsoft Azure Bot Framework - Can bots with User Managed Identities be tested with "Test in Web Chat"?
- How to handle user's route on using python-telegram-bot?
- AdaptiveCard not rendering bullet list if the text is from variable
- how do you make an adaptive card input choice selection send the selected choice to the teams bot?
Related Questions in RESET
- How to fix overriding the main branch in Git?
- I force pushed my git repository by mistake
- Pi Pico C++ code doesn't autorun after reset
- Freeze after two subsequent software resets for Zynq 7000 FPGA (with SoC)
- How to reset field setProtection in Java
- Program loses functionality after resetting
- Resetting value when another value switches sign
- How to bulk delete all the users in an Auth0 tenant?
- How to build a reset loop in micropython
- How to set up a monthly reset function in a database
- How to explicitly declare and define a Clock and Reset in Bluespec BSV (Bluespec SystemVerilog)
- how to reset selected value of select option in shadcn ui
- How to reset imageview to original/clean state after PAN and Zoom before setting new bitmap
- Button with type reset not working for ASP.NET Core select tag helper
- c++ array of an object resets, after it gets changed in a method
Related Questions in CORTANA
- How can I dynamically clear custom VCD commands from Cortana?
- Bot Channel Registration Cortana MSA
- Error: Unable to start a DCOM Server: Microsoft.Windows.Cortana
- How to continue old conversation in Cortana after user clicks on a card that invokes a URL?
- Cortana Bot Time Out
- I see that the Bing Skill doesn't work, when invoked from Cortana Channel
- I want to restart my watterfall dialog at it's beginning when it ends, using C#
- Launching UFT application makes Cortana use a lot more CPU and react a lot slower
- Cannot create/edit Cortana channel for Azure web-app bots
- Replicate WindowsCortanaPane as UrlReferrer
- How to create dynamic dialogs from REST API in botframework
- Cortana is still calling a bot I've deleted
- How to open a local application using Cortana skills
- What language is cortana programmed in?
- Cortana always shows error like "error": "Bot service failed with status code: NotFound"
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
use
To restart the waterfall dialog you are currently in.
ReplaceDialogAsync :
You can use this for multiple reasons, validation for example if the user inputs a wrong value, you can restart the dialog to prompt again. Be careful though your waterfall dialog should always "ends" meaning it should have a EndDialogAsync so you don't get stuck in an endless loop