Hi, why this.ask is not working? Here is my request and my state
Hi @florijan.allaraj, since the response is logged before your intent is called, I assume this is an asynchronous problem. I’m not sure if this solves it, but could you try to put an
Yes! Ruben’s solution should solve the problem.
toStateIntent returns a promise.
Another solution would be to return
this.toStateIntent(...). The framework resolves the promise automatically.