# Confirmation step was skipped

**URL:** <https://forum.rasa.com/t/confirmation-step-was-skipped/62166>\
**Category:** Rasa CALM\
**Created:** [June 5, 2024, 1:12am UTC](https://forum.rasa.com/t/confirmation-step-was-skipped/62166 "2024-06-05T01:12:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SunYusheng](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sunyusheng/32/24259_2.png) [@SunYusheng](https://forum.rasa.com/u/SunYusheng)\
**Post date:** [June 5, 2024, 1:12am UTC](https://forum.rasa.com/t/confirmation-step-was-skipped/62166/1 "2024-06-05T01:12:22Z")

</div>

transfer\_money is defined as below:

```auto
flows:
  welcome_and_self_introduction:
    name: welcome
    description: Greet, introduce the assistant,and ask what the user needs help with
    steps:
      - action: utter_welcome_and_self_introduction

  transfer_money:
    description: This flow lets users send money to recipient, Ask all the required questions to process a money transfer request from user.
    steps:
      - collect: recipient
      - collect: amount
        description: the number of US dollars to send
      - action: action_check_sufficient_funds
        next:
          - if: not slots.has_sufficient_funds
            then:
              - action: utter_insufficient_funds
                next: END
          - else: final_confirmation
      - collect : final_confirmation
        id: final_confirmation
        next:
          - if: not slots.final_confirmation
            then:
              - action: utter_transfer_cancelled
                next: END
          - else: transfer_successful
      - action: utter_transfer_complete
        id: transfer_successful

```

but final\_conirmation step is not always executed.

 ![Dingtalk_20240605090451](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/0/b0c2f927fbca849fd28b9ea3d323a1385d99ca7a.jpeg)

---

<div class="post-metadata">

**Author:** ![l2nguyen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/l2nguyen/32/23881_2.png) [@l2nguyen](https://forum.rasa.com/u/l2nguyen)\
**Post date:** [June 5, 2024, 11:33am UTC](https://forum.rasa.com/t/confirmation-step-was-skipped/62166/2 "2024-06-05T11:33:00Z")

</div>

I would recommend setting `ask_before_filling: true` for the collect step for `final_confirmation` like [here](https://github.com/RasaHQ/rasa-calm-demo/blob/main/data/flows/transfer_money.yml#L24) in the calm demo so that rasa always asks the user for that slot.

Docs on ask\_before\_filling here: [Business Logic with Flows](https://rasa.com/docs/rasa-pro/concepts/flows/#always-asking-questions)

---

<div class="post-metadata">

**Author:** ![SunYusheng](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sunyusheng/32/24259_2.png) [@SunYusheng](https://forum.rasa.com/u/SunYusheng)\
**Post date:** [June 6, 2024, 6:18am UTC](https://forum.rasa.com/t/confirmation-step-was-skipped/62166/3 "2024-06-06T06:18:34Z")

</div>

Thank you. it works
