Intents:
IntentA
This is the scenario:
- U: "Alexa, open myapp"
- A: "Welcome to myapp" (LaunchHandler)
- U: "Search routes" (IntentAHandler)
- A: "From where do you depart?" (IntentAHandler, with addElicitSlotDirective)
- U: "Repeat" (RepeatHandler)
- A: "From where do you depart?" (IntentAHandler, with addElicitSlotDirective) <- I can't get to this
I've tried different ways to return to the original intent, but I get this error: INVALID_RESPONSE A valid slot of the intent being processed should be specified for slotToElicit in "Dialog.ElicitSlot" directive
The code from RepeatIntent:
handlerInput.requestEnvelope.request.intent = attributes.temp_IntentA;
return custom.IntentAHandler.handle(handlerInput);
I have no problem repeating the last speech, like when I have the output speech with results. But during a dialog, eliciting, how? Is there a way to do this?