# Slotmapping doesn't work

**URL:** <https://forum.rasa.com/t/slotmapping-doesnt-work/26949>\
**Category:** Rasa Open Source\
**Created:** [April 2, 2020, 12:54pm UTC](https://forum.rasa.com/t/slotmapping-doesnt-work/26949 "2020-04-02T12:54:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@Marc](https://forum.rasa.com/u/Marc)\
**Post date:** [April 2, 2020, 12:54pm UTC](https://forum.rasa.com/t/slotmapping-doesnt-work/26949/1 "2020-04-02T12:54:44Z")

</div>

I have made a formAction and am trying to use slot\_mappings but can’t seem to get it work. This is what my slot\_mapping looks like:

```auto
    def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]:

        return {
            "invite_more_bool": [
                self.from_intent(intent="affirm", value=True),
                self.from_intent(intent="deny", value=False),
            ],
        }

```

However I also have a validate function and once we enter validate() the slot “invite\_more\_bool” is still not set but has the value None. Why is this? Thanks!
