# How to use action\_back?

**URL:** <https://forum.rasa.com/t/how-to-use-action-back/45268>\
**Category:** Rasa Open Source\
**Created:** [July 1, 2021, 9:28am UTC](https://forum.rasa.com/t/how-to-use-action-back/45268 "2021-07-01T09:28:54Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [July 3, 2021, 12:51pm UTC](https://forum.rasa.com/t/how-to-use-action-back/45268/22 "2021-07-03T12:51:46Z")

</div>

@ronankff Sure Please.

> [@Back to the question before if the user were wrong](http://forum.rasa.com/t/back-to-the-question-before-if-the-user-were-wrong/11310/16):
>
> @erohmensing Hi, Here is an example of my code. In a FormAction, I would like for the user to be able to correct his answer and go back to the former question. For example, the bot will ask for the name (“nom”) and the user will write it. The bot will then ask for the surname. At that moment, if the user write “retour”, the bot should ask again for the name (and put the right value in the slot). action.py Class CreateForm(FormAction): “”“Example of a custom form action”"" def name(self): …

@ronankff

> [@Rasa 1.0 Mapping Policy](http://forum.rasa.com/t/rasa-1-0-mapping-policy/10893/6):
>
> OK, in case anyone is still struggling with the Mapping Policy of Rasa 1.0, this is what I did to make it work: Put this in endpoints.yml action\_endpoint: url: "http://localhost:5055/webhook" Create an actions.py in your working folder with your custom action. For me, this was: from rasa\_sdk import Action from rasa\_sdk.events import UserUtteranceReverted class FaqEnrollment(Action): """Revertible mapped action for utter\_faq\_enrollment""" def name(self): return "action\_fa…

@ronankff

> <https://github.com/RasaHQ/rasa/blob/main/rasa/core/actions/action.py>

@ronankff

> **[Default Actions](https://rasa.com/docs/rasa/default-actions/#action_back)**

@ronankff Honestly, I have seen so many examples, and want to provide at-most help. But, some process is hard to implement, so as a developer we found the atternative. If I found any more links or even solution; I will post here. Cheers!

---

_[View the full topic](https://forum.rasa.com/t/how-to-use-action-back/45268)._
