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

29 lines
1019 B
JSON
Raw Permalink Normal View History

2021-02-06 16:13:47 +01:00
[
{
"trigger": "scan_data",
"source": "enter_location",
"dest": "enter_products",
2021-08-06 18:29:01 +02:00
"after": "cic_ussd.state_machine.logic.account.save_metadata_attribute_to_session_data",
"unless": "cic_ussd.state_machine.logic.validator.has_cached_person_metadata"
2021-02-06 16:13:47 +01:00
},
{
"trigger": "scan_data",
"source": "enter_location",
2021-06-03 15:40:51 +02:00
"dest": "location_edit_pin_authorization",
2021-08-06 18:29:01 +02:00
"after": "cic_ussd.state_machine.logic.account.save_metadata_attribute_to_session_data",
"conditions": "cic_ussd.state_machine.logic.validator.has_cached_person_metadata"
2021-02-06 16:13:47 +01:00
},
{
"trigger": "scan_data",
2021-06-03 15:40:51 +02:00
"source": "location_edit_pin_authorization",
2021-02-06 16:13:47 +01:00
"dest": "exit",
"conditions": "cic_ussd.state_machine.logic.pin.is_authorized_pin",
2021-08-06 18:29:01 +02:00
"after": "cic_ussd.state_machine.logic.account.edit_user_metadata_attribute"
2021-02-06 16:13:47 +01:00
},
{
"trigger": "scan_data",
2021-06-03 15:40:51 +02:00
"source": "location_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"
}
]