# Struggling with Programmable Email Beta - Conditional Logic

**URL:** <https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716>\
**Category:** Email Marketing Tool\
**Tags:** enterprise\
**Created:** [September 13, 2021, 10:45am UTC](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716 "2021-09-13T10:45:31Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![KimM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kimm/32/98942_2.png) [@KimM](https://community.hubspot.com/u/KimM)\
**Post date:** [September 29, 2021, 2:03pm UTC](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716/4 "2021-09-29T14:03:03Z")

</div>

Hi Indra,

I’m afraid this doesn’t solve the issue as the property is a multiple select, so I need to use the ‘containing’ expression.

However, I have found the solution to the problem now thanks to Hubspot support. I wasn’t actually accessing the value when writing the statement. So instead of:

`{% if contact.sessions_registered_2021 is containing 'Session 1' %}`

it should be:

`{% if contact.sessions_registered_2021.value is containing 'Session 1' %}`

Thanks to Hubspot support for looking into this for me. I imagine this will become a lot more clear in the documentation once the product is out of beta.

---

_[View the full topic](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716)._
