On CUSTOM KEYWORD like "hi" start exit the current task and start a fresh match of task

Hi Team,
I want to use CUSTOM KEYWORD like “hi” to be of higher priority so that i can prompt user specific message from anywhere in the any flow.

@tabish13khan If your requirement here is to discard the current task and switch to the new task (without notifying the user), the below configuration at hold and resume under settings should help.

  1. To achieve this, create a dummy dialog of type hidden.
  2. Provide the keywords as utterance to the dummy task.
  3. Train the bot on ML utterances.
  4. You could have the message which needs to be presented as a message node.
  5. Now make changes at the hold & resume as suggested earlier.

Please let me know if the proposed solution works. :slight_smile:

@Subrahmanyam I have created the dummy task and updated the hold and resume option as instructed by youimage
image%20(1) image%20(2)

This is the entity i have set in the dummy task as user message
“I can help you with transaction status , and more.”

On input “main menu” from middle of other task unable to get the main menu.

Hi @tabish13khan, I created a bot with the tasks “Contact details” & “Main menu” to demonstrate the solution. Please refer to the below configuration.

  1. I have a task contact details which prompts the user to enter mobile number
    image
  2. I have created a main menu task which shows a msg to the user as below:
    image
  3. I have added the utterance “Options list” at main menu task and trained the bot.
    image
    4)I have updated the hold & resume settings to discard current task and switch to new without notifying user .
    image
    5)Executed the bot on bot builder and below snip show the behavior at Hold & Resume.

image