hasContext
This action is pretty simple, and only checks, if Variable var
exists in Context. It can return true
of false
as a result intent.
Example:
actions:
- hasContext:
var: 'userId'
next:
'true': UserId exists, continue
'false': UserId does not exist, register user