Skip resetting a particular slot

I am using Rasa 1.2.2 and Rasa SDK 1.1.0. I am using formActions to handle several transactions. Just to be sure, some of the values like, amount, currency etc not to carry to next transaction at the end of every flow, I use action_restart.

However, I need to retain certain slots (e.g. country code, local currency) across transactions. So, how do I skip action_restart resetting these slot values?

hi @Egalite123! probably the easiest solution is to subclass the restart action and create your own version which skips these slots. Alternatively, you can write a custom action which returns an ActionRestarted event followed by a few SlotSet events to set them again.