Can't Resume the conversation after pausing

Hi all,

I have paused the conversation using ConversationPaused event in one of the if loop in my custom action code. After pausing, the bot is not running custom action, I used ConversationResumed event in another loop in the same custom action. Because of this I am not able to resume the conversation. Is this the right way to use Resume event? If yes how to resume the conversation after pausing it? Thanks!

Can you tell me how you paused the conversation? please show me your snippet code.

You should create action and return [ConversationPaused()] like this:

class ActionPause(Action):

    def name(self) -> Text:
        return "action_Pause"

    def run(self,
            dispatcher: CollectingDispatcher,
            tracker: Tracker,
            domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

        return [ConversationPaused()]