[
  {
    "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"
    ]
  }
]