ibm-watsonwatson-assistant

How to go back in conversation steps in Watson Assistant actions?


I'm trying to set up an action where users can go back a step, but there seems to be an issue when I click 'Back' as the action ends.

As shown in the screenshots, 'Back' meets the conditions to trigger step 2 but it doesn't work.

If I change 'Continue to next step' to 'Re-ask previous step(s)' then step 2 re-directs to step 1 when clicking on 'Back', but doesn't continue to step 3 when clicking on 'Measures...'.

enter image description here

Screenshot 2


Solution

  • The most common issue for this is in the reask. When you select the reask you will need to select all the steps that you want to reask.

    If you don't select a step then the previous value still stays there.

    So if you reask looks like this, then it won't work as the Back step is still set to Back.

    Only step 2 is selected.

    You need to set it to this:

    Step 2 and 3 is selected

    In the earlier version of Actions it would not click all by default. The current version does. So you might have accidentally clicked it off.

    So your steps should look something like this:

    Picture of steps. See attachment for more details

    I have put an example assistant up on Github.