# Trying to understand slot\_was\_set

**URL:** <https://forum.rasa.com/t/trying-to-understand-slot-was-set/37028>\
**Category:** Rasa Open Source\
**Created:** [November 15, 2020, 8:10pm UTC](https://forum.rasa.com/t/trying-to-understand-slot-was-set/37028 "2020-11-15T20:10:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayb](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jayb](https://forum.rasa.com/u/jayb)\
**Post date:** [November 15, 2020, 8:10pm UTC](https://forum.rasa.com/t/trying-to-understand-slot-was-set/37028/1 "2020-11-15T20:10:56Z")

</div>

I have given up on rules and am going back to stories. Now I am trying to get slot\_was\_set to work as I think it should work based upon the documentation.

```
version: "2.0"

stories:
- story: Happy path segment 1
  steps:
  - intent: greet
  - action: action_fetch_profile
  - action: main_form
  - active_loop: main_form
  - active_loop: null
  - action: utter_goodbye_patient_name
  - action: action_restart
  
- story: Bail out because paitent is not home
  steps:
  - intent: greet
  - action: action_fetch_profile
  - action: main_form
  - active_loop: main_form
  - intent: patient_not_available  
  - action: action_deactivate_loop
  - active_loop: null
  - action: utter_will_call_back_later
  - action: action_restart
  
- story: transfer to human
  steps:
  - intent: greet
  - action: action_fetch_profile
  - action: main_form
  - active_loop: main_form
  - intent: speak_to_human
  - action: utter_speak_to_human
  - action: action_deactivate_loop
  - active_loop: null
  - action: action_restart
  
- story: won't speak to bot
  steps:
  - intent: greet
  - action: action_fetch_profile
  - action: main_form
  - active_loop: main_form
  - slot_was_set:
    - confirm_speak_to_bot: "False"
  - action: utter_speak_to_human
  - action: action_deactivate_loop
  - active_loop: null
  - action: action_restart

```

“confirm\_speak\_to\_bot” is set by a form. Any ideas why the bottom story doesn’t fire?

---

<div class="post-metadata">

**Author:** ![alopez](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/alopez/32/13807_2.png) [@alopez](https://forum.rasa.com/u/alopez)\
**Post date:** [November 19, 2020, 2:52pm UTC](https://forum.rasa.com/t/trying-to-understand-slot-was-set/37028/2 "2020-11-19T14:52:31Z")

</div>

Hi Jay, it looks like you might be following this up in your [other thread](http://forum.rasa.com/t/cant-understand-rules-in-rasa-2-0/37012), but if not: it would be helpful to see an example dialogue that should trigger the final story.
