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

62 lines
1.7 KiB
JSON
Raw Normal View History

2021-02-06 16:13:47 +01:00
[
{
"trigger": "scan_data",
"source": "exit_invalid_menu_option",
"dest": "start",
"conditions": "cic_ussd.state_machine.logic.menu.menu_zero_zero_selected"
},
{
"trigger": "scan_data",
"source": "exit_invalid_menu_option",
"dest": "exit",
"conditions": "cic_ussd.state_machine.logic.menu.menu_ninety_nine_selected"
},
{
"trigger": "scan_data",
"source": "exit_invalid_input",
"dest": "start",
"conditions": "cic_ussd.state_machine.logic.menu.menu_zero_zero_selected"
},
{
"trigger": "scan_data",
"source": "exit_invalid_input",
"dest": "exit",
"conditions": "cic_ussd.state_machine.logic.menu.menu_ninety_nine_selected"
},
{
"trigger": "scan_data",
"source": "help",
"dest": "start",
"conditions": "cic_ussd.state_machine.logic.menu.menu_zero_zero_selected"
},
{
"trigger": "scan_data",
"source": "help",
"dest": "exit",
"conditions": "cic_ussd.state_machine.logic.menu.menu_ninety_nine_selected"
},
{
"trigger": "scan_data",
"source": "exit_invalid_recipient",
2021-04-06 19:53:38 +02:00
"dest": "enter_transaction_recipient",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_zero_zero_selected"
},
{
"trigger": "scan_data",
"source": "exit_invalid_recipient",
"dest": "exit",
2021-08-06 18:29:01 +02:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_ninety_nine_selected"
2021-02-06 16:13:47 +01:00
},
{
2021-04-06 19:53:38 +02:00
"trigger": "scan_data",
2021-02-06 16:13:47 +01:00
"source": "exit_successful_transaction",
"dest": "start",
"conditions": "cic_ussd.state_machine.logic.menu.menu_zero_zero_selected"
},
{
2021-04-06 19:53:38 +02:00
"trigger": "scan_data",
2021-02-06 16:13:47 +01:00
"source": "exit_successful_transaction",
"dest": "exit",
"conditions": "cic_ussd.state_machine.logic.menu.menu_ninety_nine_selected"
}
]