# Multi Reference : Cannot Select Enum Into Context

**URL:** <https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161>\
**Category:** Bug reports\
**Tags:** cardinality\
**Created:** [April 15, 2024, 8:00am UTC](https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161 "2024-04-15T08:00:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [April 15, 2024, 8:00am UTC](https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161/1 "2024-04-15T08:00:52Z")

</div>

Hey Appfarm  
i have here one when i use a runtime property with cardinality many:

- Workstation : Contains only one workstationEnum ( old process that i want to change )
- Workstations : Contains a list of workstationEnum

the “workstationEnum” itself is an enum.

i have a case when i iterate on “WorkstationEnum” and i want to show , in each iteration, my item that contains this enum

it seems that i can’t select the workstationEnum in context on the condition popup

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/optimized/2X/5/5faac3074306df0d7fa260c0e8252a93ade1a7cd_2_690x45.png)

in this picture , you can see that workstation (old one) work by selecting the workstation in context  
but it seems that i don’t have this option when using List ( even if i use “Equal” instead of “Has Some Of”

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/2/2057fc0245e78531a347cb733fef77cf08782bf2.png)

maybe i’m doing it wrong !

Thanks

---

<div class="post-metadata">

**Author:** ![Yassine.tebib](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/yassine.tebib/32/74_2.png) [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Post date:** [April 15, 2024, 8:11am UTC](https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161/2 "2024-04-15T08:11:12Z")

</div>

For those who needs a workaround

You Can do you condition inside of your iteration box ( as a visibility condition )  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/e/e45275bd1392b491167323075dc990f458855814.png)

in that case you can go the other way by taking the enum in context before

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/e/e9547127144b2d43fe0667a35d7016e6d1099159.png)

it will be heavier depending on how big your DB is

---

<div class="post-metadata">

**Author:** ![isabelslorer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/isabelslorer/32/856_2.png) [@isabelslorer](https://community.appfarm.io/u/isabelslorer)\
**Post date:** [April 17, 2024, 1:43pm UTC](https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161/3 "2024-04-17T13:43:20Z")

</div>

Hi Yassine,

Thank you for pointing this out! I agree that this should work.

I will request the platform team to take a look at it. I am glad to hear that you found a workaround in the meantime.

---

<div class="post-metadata">

**Author:** ![isabelslorer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/isabelslorer/32/856_2.png) [@isabelslorer](https://community.appfarm.io/u/isabelslorer)\
**Post date:** [May 22, 2024, 2:26pm UTC](https://community.appfarm.io/t/multi-reference-cannot-select-enum-into-context/1161/4 "2024-05-22T14:26:33Z")

</div>

Hi Yassine,

I can now inform you that this will work in the next version of Appfarm Create:)
