Skip to content

Commit

Permalink
Rules regarding Motor Vehicle Tax Service. (#720)
Browse files Browse the repository at this point in the history
Added 3 new rules, including a form ask
  • Loading branch information
ffrose authored Nov 26, 2024
1 parent 2bd289d commit 4abedac
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions DSL/DMapper/locations/data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,3 +315,30 @@ rules:
- intent: common_service_estimated_subsistence_minimum
- action: utter_common_service_estimated_subsistence_minimum
- action: action_restart

- rule: common_service_motor_vehicle_tax with form
steps:
- slot_was_set:
- reg_number: null
- intent: common_service_motor_vehicle_tax
- action: common_service_motor_vehicle_tax_form
- active_loop: common_service_motor_vehicle_tax_form

- rule: common_service_motor_vehicle_tax form submit
condition:
- active_loop: common_service_motor_vehicle_tax_form
steps:
- action: common_service_motor_vehicle_tax_form
- active_loop: null
- slot_was_set:
- reg_number: true
- action: utter_common_service_motor_vehicle_tax
- action: action_restart

- rule: common_service_motor_vehicle_tax without form
steps:
- slot_was_set:
- reg_number: true
- intent: common_service_motor_vehicle_tax
- action: utter_common_service_motor_vehicle_tax
- action: action_restart

0 comments on commit 4abedac

Please sign in to comment.