2021-02-06 16:13:47 +01:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"trigger": "scan_data",
|
2021-03-04 17:47:13 +01:00
|
|
|
"source": "enter_given_name",
|
|
|
|
"dest": "enter_family_name",
|
|
|
|
"after": "cic_ussd.state_machine.logic.user.save_metadata_attribute_to_session_data"
|
2021-02-06 16:13:47 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"trigger": "scan_data",
|
2021-05-27 17:55:17 +02:00
|
|
|
"source": "enter_family_name",
|
|
|
|
"dest": "name_edit_pin_authorization",
|
2021-03-04 17:47:13 +01:00
|
|
|
"after": "cic_ussd.state_machine.logic.user.save_metadata_attribute_to_session_data",
|
|
|
|
"conditions": "cic_ussd.state_machine.logic.validator.has_cached_user_metadata"
|
|
|
|
},
|
2021-02-06 16:13:47 +01:00
|
|
|
{
|
|
|
|
"trigger": "scan_data",
|
2021-03-04 17:47:13 +01:00
|
|
|
"source": "enter_family_name",
|
|
|
|
"dest": "enter_gender",
|
|
|
|
"after": "cic_ussd.state_machine.logic.user.save_metadata_attribute_to_session_data",
|
2021-05-27 17:55:17 +02:00
|
|
|
"unless": "cic_ussd.state_machine.logic.validator.has_cached_user_metadata"
|
2021-02-06 16:13:47 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"trigger": "scan_data",
|
2021-05-27 17:55:17 +02:00
|
|
|
"source": "name_edit_pin_authorization",
|
2021-02-06 16:13:47 +01:00
|
|
|
"dest": "exit",
|
|
|
|
"conditions": "cic_ussd.state_machine.logic.pin.is_authorized_pin",
|
2021-05-27 17:55:17 +02:00
|
|
|
"after": "cic_ussd.state_machine.logic.user.edit_user_metadata_attribute"
|
2021-02-06 16:13:47 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"trigger": "scan_data",
|
2021-05-27 17:55:17 +02:00
|
|
|
"source": "name_edit_pin_authorization",
|
2021-02-06 16:13:47 +01:00
|
|
|
"dest": "exit_pin_blocked",
|
|
|
|
"conditions": "cic_ussd.state_machine.logic.pin.is_locked_account"
|
|
|
|
}
|
|
|
|
]
|