I am creating a complex dialog that has some "shared" dialog branches that will be "jumped to" in several places from the main dialog.
For example, I have a shared branch, "Gather lead" to gather a person's name and email address. When it is complete, I would like the dialog to return back to where it was in the original dialog stack.
So far, I've only been able to set a context variable such as "returnToNode" and then create child nodes at the end of "Gather lead" for every possible "returnToNode" which themselves have "Jump Tos"
Ideally, Watson Conversation would return where it left off before the jump?
Is that possible?
What I'm trying to achieve:
Main Dialog 1:
A -> B -> C -> Shared -> D -> end
Main Dialog 2:
E -> F -> G -> Shared -> H -> end
Shared:
X -> Y -> Z -> end
In Main Dialog 1, I want the dialog to return to D
after Shared
is complete. In Main Dialog 2, I want the dialog to return to H
after Shared
is complete.