Search code examples
ibm-cloudchatbotibm-watsonwatson-conversationwatson-assistant

Error in jumps in IBM Watson


We are implementing Watson technology for an assistant to help certain users.

The dialogues are somewhat complex, and sometimes it is necessary to do jump answers that relate with certain questions, the downside of this is that it may be that the user can ask the question once more, in case it was not clear and that is where the problem arises.

When wanting to enter the node where it is subsequently entered and said node made a jump, I mark the following error

"Did not match the condition of the target node nor any of the conditions of its subsequent siblings."

Can someone tell me with clarity why that happens?

Reference image


Solution

  • After so many tests, I finally found the error. This was because I was leaving some variables of context with values, and when I returned to the nodes, I no longer validated them again. What I did was that at the end of the answer I set the variables to null so that when I was processing them again in the nodes, they had to validate them again.

    Greetings and many thanks.