Expected paths
In the J-Graph visual editor, the bot business logic is built upon states. Blocks are the elements which describe the user and bot behavior in the context of states.
Expected paths are the patterns, intents, and events which can initiate a dialog transition to other states.
JAICP DSL equivalents
All expected paths have direct equivalents among JAICP DSL tags. They are converted to these tags when switching from J‑Graph to the source code editor.
Block | JAICP DSL tag |
---|---|
Pattern | q |
Intent | intent |
Event | event |
For all expected paths, you can configure the following parameters:
Parameter | Description | JAICP DSL equivalent |
---|---|---|
Go to state | The state where transitions can be made from the current state and other states in the same group. This parameter is required. | The toState parameter is filled. |
Ignore transitions from nested states | If the checkbox is active, transitions to the selected state can be made strictly from the current state, but not from others in its group. | The onlyThisState parameter is enabled. |
Blocks
Patterns, intents, and events acting as expected paths are configured in the same way as the corresponding triggers. Learn more about setting up triggers.