How Jovo states are mapped into Alexa canHandle?

amazon-alexa

#1

Hi!

I understood that Jovo can only choose Intents that are inside its current state, but in our current application while being in an initialState, Alexa can choose in some cases the “intent2”.

initialState {
intent1
}

state2 {
intent2
}

Am I missing something? I understand that if Alexa canHandle() function returns false, the intent cannot be selected by Alexa…

Best Regards,

Juan

#2

Hey @jlopezr,

can you tell me in more detail what’s exactly happening here? Does intent2 get triggered while being in initialState? Or does Alexa just match intent2, and your handler goes to Unhandled?