This site is no longer updated.Go to new Conversational Cloud docs

go


Description

go — deferred transition into specified state: reactions of a target state won’t be executed, but next user’s phrase will be processed in the target state’s context.

Value type

  • string — path shows where the delayed transition should be made
Parameters
  • none

Nested data

  • none

Syntax

The path after tag can be either absolute or relative:

  • / — root theme;
  • . — current state;
  • .. — state from a higher level (parent state);
  • ./.. — separation of path elements.

How to use

    go: /path
    go: ../anotherPath
    go: ../My module/another state
    go!: {{ $temp.nextState }}

Substitution can be used in the tag. The brackets {{ }} can contain any valid JavaScript expression, the same variables and functions that were in the scripts can also be used.