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

55 lines
1.6 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-06-23 15:25:09 +02:00
"dest": "enter_date_of_birth",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_three_selected"
},
{
"trigger": "scan_data",
"source": "metadata_management",
2021-06-23 15:25:09 +02:00
"dest": "enter_location",
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-06-23 15:25:09 +02:00
"dest": "enter_products",
2021-02-06 16:13:47 +01:00
"conditions": "cic_ussd.state_machine.logic.menu.menu_five_selected"
},
2021-06-23 15:25:09 +02:00
{
"trigger": "scan_data",
"source": "metadata_management",
"dest": "display_metadata_pin_authorization",
"conditions": "cic_ussd.state_machine.logic.menu.menu_six_selected"
},
2021-02-06 16:13:47 +01:00
{
"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"
}
]