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

49 lines
1.4 KiB
JSON
Raw Normal View History

2021-02-06 16:13:47 +01:00
[
{
"trigger": "scan_data",
"source": "metadata_management",
"dest": "enter_given_name",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_one_selected"
},
{
"trigger": "scan_data",
"source": "metadata_management",
2021-06-03 15:40:51 +02:00
"dest": "enter_gender",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_two_selected"
},
{
"trigger": "scan_data",
"source": "metadata_management",
2021-02-06 16:13:47 +01:00
"dest": "enter_location",
"conditions": "cic_ussd.state_machine.logic.menu.menu_three_selected"
},
{
"trigger": "scan_data",
"source": "metadata_management",
"dest": "enter_products",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_four_selected"
},
{
"trigger": "scan_data",
"source": "metadata_management",
2021-04-06 19:53:38 +02:00
"dest": "display_metadata_pin_authorization",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_five_selected"
},
{
"trigger": "scan_data",
2021-04-06 19:53:38 +02:00
"source": "display_metadata_pin_authorization",
"dest": "display_user_metadata",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.pin.is_authorized_pin"
},
{
"trigger": "scan_data",
2021-04-06 19:53:38 +02:00
"source": "display_metadata_pin_authorization",
2021-02-06 16:13:47 +01:00
"dest": "exit_pin_blocked",
"conditions": "cic_ussd.state_machine.logic.pin.is_locked_account"
},
{
"trigger": "scan_data",
"source": "metadata_management",
2021-02-06 16:13:47 +01:00
"dest": "exit_invalid_menu_option"
}
]