# How to run from a story to another

**URL:** <https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852>\
**Category:** Rasa Open Source\
**Created:** [August 27, 2019, 6:49am UTC](https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852 "2019-08-27T06:49:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdu-2044](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sdu-2044/32/3697_2.png) [@sdu-2044](https://forum.rasa.com/u/sdu-2044)\
**Post date:** [August 27, 2019, 6:49am UTC](https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852/1 "2019-08-27T06:49:51Z")

</div>

Hello ,I use rasa create a bot an it can talk to me.My story.md is as follow

> ## ask\_normal3
> 
> - search\_normal
> - utter\_ok
> 
> ## ask\_greet
> 
> - greet -utter\_greet

when I input “/greet” it response "hello "，but when I continue to input “/search\_normal”，it has no response until I input "/restart’. So my problem is how can I start a new story when one is finished.

---

<div class="post-metadata">

**Author:** ![kaladin](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kaladin](https://forum.rasa.com/u/kaladin)\
**Post date:** [August 27, 2019, 12:49pm UTC](https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852/2 "2019-08-27T12:49:26Z")

</div>

Hi @sdu-2044, you can use custom action to reset conversation

In `actions.py`:

```
from rasa_sdk.events import Restarted
class ActionRestarted(Action):
    def name(self):
        return "action_chat_restart"

    def run(self, dispatcher, tracker, domain):
        return [Restarted()]

```

In `domain.yml`:

```
actions:
  - action_chat_restart

```

In `stories.md`

```
## path 1
* happy_greet
  - utter_happy_greet
  - action_chat_restart
  
## path 2
* unhappy_greet
  - utter_unhappy_greet
  - action_chat_restart
```

---

<div class="post-metadata">

**Author:** ![sdu-2044](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sdu-2044/32/3697_2.png) [@sdu-2044](https://forum.rasa.com/u/sdu-2044)\
**Post date:** [August 28, 2019, 2:29am UTC](https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852/3 "2019-08-28T02:29:30Z")

</div>

Thanks for your reply.This solution works well,but I think rasa provides action\_restart by default,you don’t need to write a custom action to restart the conversation yourself.And the restart action will reset all trackers and slot at the same time which sometime I don’t want to.So any other solutions?

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [August 30, 2019, 8:29am UTC](https://forum.rasa.com/t/how-to-run-from-a-story-to-another/14852/4 "2019-08-30T08:29:18Z")

</div>

You should definitely have more than two stories and they should be reflective of actual conversations someone might have with your bot. Check out [Stories](https://rasa.com/docs/rasa/core/stories/)
