cic-stack/apps/cic-ussd/transitions/account_management_transitions.json

61 lines
1.8 KiB
JSON
Raw Normal View History

2021-02-06 16:13:47 +01:00
[
{
"trigger": "scan_data",
"source": "account_management",
"dest": "metadata_management",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_one_selected"
},
{
"trigger": "scan_data",
"source": "account_management",
"dest": "select_preferred_language",
"conditions": "cic_ussd.state_machine.logic.menu.menu_two_selected"
},
{
"trigger": "scan_data",
"source": "account_management",
"dest": "account_balances_pin_authorization",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_three_selected"
},
{
"trigger": "scan_data",
"source": "account_balances_pin_authorization",
"dest": "account_balances",
"conditions": "cic_ussd.state_machine.logic.pin.is_authorized_pin"
},
{
"trigger": "scan_data",
"source": "account_balances_pin_authorization",
"dest": "exit_pin_blocked",
"conditions": "cic_ussd.state_machine.logic.pin.is_blocked_pin"
2021-02-06 16:13:47 +01:00
},
{
"trigger": "scan_data",
"source": "account_management",
"dest": "account_statement_pin_authorization",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_four_selected"
},
{
"trigger": "scan_data",
"source": "account_statement_pin_authorization",
"dest": "first_transaction_set",
"conditions": "cic_ussd.state_machine.logic.pin.is_authorized_pin"
},
{
"trigger": "scan_data",
"source": "account_statement_pin_authorization",
"dest": "exit_pin_blocked",
"conditions": "cic_ussd.state_machine.logic.menu.is_blocked_pin"
},
{
"trigger": "scan_data",
"source": "account_management",
2021-11-29 22:24:37 +01:00
"dest": "pin_management",
"conditions": "cic_ussd.state_machine.logic.menu.menu_five_selected"
},
2021-02-06 16:13:47 +01:00
{
"trigger": "scan_data",
"source": "account_management",
"dest": "exit_invalid_menu_option"
}
]