I am trying to get the history of intents and messages that has been transitioned until the current node. I tried using context.history but it gives length as 0.
For example if there is a main dialog task, then it goes to a sub intent1, calls a service1, prints a message1.
I want to have the path that has been traversed. (Dialog task1, subintent1, service1, message1)
Is there any other way to get this information?
Appreciate your help.
Thanks in advance