I have a scenario where I want to delegate to my 'PIN flow' any time a user tries to invoke an intent that requires authentication. There are many intents that can have this requirement, so I want to be able to return back to the original intent after delegation, so the user can continue what they were trying to do.
I am currently able to delegate the conversation to the PIN flow and accept the PIN using the elicited slots, however when I try to return back to the original intent, my session attributes are reset due to the dialogState becoming "COMPLETED", and the value for the original intent is undefined.
I found a couple of forum posts online stating that the session attributes are reset when the dialogState becomes "COMPLETED" but none of them have been conclusive. Some examples are as follows:
What I am wondering is if there is A) a better way to do this, or B) if there is a way around these limitations. I really do not want to end up coupling my code, and this seems the only way to handle something like this.
I can provide code samples if required.