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

25 lines
691 B
JSON

[
{
"trigger": "scan_data",
"source": "initial_pin_entry",
"dest": "initial_pin_confirmation",
"after": "cic_ussd.state_machine.logic.pin.save_initial_pin_to_session_data",
"conditions": "cic_ussd.state_machine.logic.pin.is_valid_pin"
},
{
"trigger": "scan_data",
"source": "initial_pin_entry",
"dest": "exit_invalid_pin"
},
{
"trigger": "scan_data",
"source": "initial_pin_confirmation",
"conditions": "cic_ussd.state_machine.logic.pin.pins_match",
"dest": "start",
"after": [
"cic_ussd.state_machine.logic.pin.complete_pin_change",
"cic_ussd.state_machine.logic.account.update_account_status_to_active"
]
}
]