# RASA Domain.yml Custom Block(Multiselect) Dynamic Values

**URL:** <https://forum.rasa.com/t/rasa-domain-yml-custom-block-multiselect-dynamic-values/21273>\
**Category:** Rasa Open Source\
**Created:** [November 15, 2019, 5:43am UTC](https://forum.rasa.com/t/rasa-domain-yml-custom-block-multiselect-dynamic-values/21273 "2019-11-15T05:43:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djaydogra-777](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@djaydogra-777](https://forum.rasa.com/u/djaydogra-777)\
**Post date:** [November 15, 2019, 5:43am UTC](https://forum.rasa.com/t/rasa-domain-yml-custom-block-multiselect-dynamic-values/21273/1 "2019-11-15T05:43:00Z")

</div>

```auto
entities:
  - name
  - id

slots:
  name:
    type: unfeaturized
    auto_fill: false
  id:
    type: unfeaturized
    auto_fill: false

templates:
utter_multiselect:
  - custom:
      blocks:
      - type: section
        text:
          text: Pick one or more items from the list
          type: mrkdwn
        accessory:
          type: multi_static_select
          placeholder:
            type: plain_text
            text: Select items
          options:
            - text:
                type: plain_text
                text: Jack
              value: value-0
            - text:
                type: plain_text
                text: {name}
              value: value-1
            - text:
                type: plain_text
                text: John
              value: value-2

```

Trying to access the value in the “name” entity which has been set by custom action however, it results in value NULL and as a result, the multiselect does not render in the UI. Trying this on slack and got the format for the Multiselect from Slack’s Block Kit Builder.

Works fine if I hardcode the values but, a solution to put values dynamically in the multiselect dropdown is the one I am aiming for.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [November 18, 2019, 12:39pm UTC](https://forum.rasa.com/t/rasa-domain-yml-custom-block-multiselect-dynamic-values/21273/2 "2019-11-18T12:39:28Z")

</div>

Hi there @djaydogra-777, can you first confirm that the slot was actually set in the backend by looking at the `--debug` logs upon this utterance being created?

---

<div class="post-metadata">

**Author:** ![djaydogra-777](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@djaydogra-777](https://forum.rasa.com/u/djaydogra-777)\
**Post date:** [November 21, 2019, 6:20am UTC](https://forum.rasa.com/t/rasa-domain-yml-custom-block-multiselect-dynamic-values/21273/3 "2019-11-21T06:20:22Z")

</div>

Hi @erohmensing , yes the slot values were set as I used an utterance to print the slot values and checked it.

I got this message in the shell though…

 ![02%20AM](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/9/91b6c38a537e4032812f96d8118c1fb05f559cf8.png)
