cic-internal-integration/apps/cic-ussd/transitions/language_setting_transitions.json

21 lines
629 B
JSON
Raw Permalink Normal View History

2021-02-06 16:13:47 +01:00
[
{
"trigger": "scan_data",
"source": "select_preferred_language",
"dest": "exit",
"after": "cic_ussd.state_machine.logic.user.change_preferred_language_to_en",
"conditions": "cic_ussd.state_machine.logic.menu.menu_one_selected"
},
{
"trigger": "scan_data",
"source": "select_preferred_language",
"dest": "exit",
"after": "cic_ussd.state_machine.logic.user.change_preferred_language_to_sw",
"conditions": "cic_ussd.state_machine.logic.menu.menu_two_selected"
},
{
"trigger": "scan_data",
"source": "select_preferred_language",
"dest": "exit_invalid_menu_option"
}
]