# ‘사용자 최초 로그인’ 트리거를 사용할 때 멀티셀렉트 필드에서 첫 번째 항목만 작동합니다

**URL:** https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903
**Category:** Bug
**Tags:** groups, automation, user-custom-fields
**Created:** [4월 22, 2025, 2:38오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903 "2025-04-22T02:38:47Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [4월 22, 2025, 2:38오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/1 "2025-04-22T02:38:47Z")

</div>

이 문제는 몇 달 전에는 정상 작동했으므로 회귀(regression)로 보입니다.

아래 토론에서:

> [@tobiaseigen](#):
>
> @Paul_King 은 이전에 작동하던 자동화가 업데이트 후 더 이상 작동하지 않는다는 다른 문제에 어려움을 겪고 있는 것 같습니다. 이 문제가 지속되고 @nathank 가 재현할 수 있다면, 두 분 중 한 분이 이를 더 자세히 조사하기 위해 새로운 #bug::category 토픽을 시작할 수 있을까요?

## 설명

`User first logged in` 트리거와 함께 [Add users to groups through custom field automation](https://meta.discourse.org/t/adding-users-to-groups-through-custom-field-automation/275873) 를 사용할 때, 다중 선택(Multiselect) 필드가 올바르게 처리되지 않습니다. 자동화에서는 첫 번째 항목만 사용되는 것 같습니다.

참고로, `User first logged in` 트리거는 텍스트 및 드롭다운 필드와 함께, 그리고 사용자가 단일 옵션만 선택하는 경우 다중 선택 필드와 함께도 정상적으로 작동합니다.

또한, `Recurring` 트리거를 사용할 경우 다중 선택 필드와 함께 자동화가 정상적으로 작동하는 것으로 보입니다.

## 영향 / 우회 방법

이 버그의 영향은 가입을 통한 복잡한 그룹 할당이 불가능해지다는 것입니다. 이는 상당한 전문 콘텐츠와/또는 개인 영역을 갖추고 매끄럽고 개인화된 온보딩을 지향하는 포럼에서 매우 유용합니다.

우회 방법은 재발(recurring) 트리거로 전환하는 것입니다. 불행히도, 이는 가입 개인화 지연과 사이트 성능 사이의 트레이드오프를 수반하며, 이는 트리거 타이밍에 따라 달라집니다. 그리고 우리는 첫인상이 얼마나 중요한지 잘 알고 있습니다!!!

## 재현 방법:

1. 테스트에 적합한 여러 그룹(최소 두 개)을 준비하고, 각 그룹에 Full Name을 지정합니다.
2. 사용자 사용자 정의 필드(User Custom Field)를 생성하고, 다중 선택(Multiselect)을 선택합니다.
3. 테스트 그룹의 Full Name을 옵션으로 추가합니다.
4. 사용자 사용자 정의 필드를 통해 사용자를 그룹에 추가하는 자동화를 추가합니다.
5. `User first logged in`을 선택합니다.
6. 2단계에서 만든 사용자 사용자 정의 필드의 이름을 입력합니다.
7. 테스트 사용자로 가입하며, 테스트 필드에서 모든 옵션을 선택합니다.
8. 새 사용자의 그룹 할당을 확인합니다.

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [5월 11, 2025, 12:26오후 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/2 "2025-05-11T12:26:43Z")

</div>

Nathan님, 이 플러그인에서 그룹 자동화가 더 이상 작동하지 않는 문제에 대한 해결책을 보셨나요?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [5월 12, 2025, 1:00오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/3 "2025-05-12T01:00:47Z")

</div>

Paul님, 무엇을 질문하시는지 정확히 모르겠습니다. 두 항목은 서로 무관합니다. 현재 이 플러그인은 사용자 커스텀 필드(User Custom Fields)와 연결할 수 없으며, 당분간 로드맵에 포함될 것으로도 생각되지 않습니다.

다만, 이 기능이 매우 유사한 부분이 많아 Boolean UI와도 잘 호환될 수 있을 것 같으므로, 예의 바르게 해당 기능 추가를 요청해 보시는 것도 좋은 방법일 것입니다.

한편, 해당 기능은 이미 코어에 존재합니다. (다만 [다중 선택 필드(multiselect fields)의 경우 현재 일부 문제가 있습니다](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903).)

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [5월 12, 2025, 1:23오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/4 "2025-05-12T01:23:13Z")

</div>

네, 제 질문에 대한 답이 된 것 같네요.  
이 플러그인이 이전에 그룹 자동화(Group Automation)가 하던 것과 동일한 작업을 수행하는 대안적인 방법을 제공할 수 있을지 궁금했습니다. 즉, 사용자가 제공한 기준에 따라 사용자를 그룹에 할당하는 것이죠. 제 경우를 고려하면 사용자 정의 필드를 기준으로 하는 기능이 필수적이므로, 현재 이것이 불가능하다면 치명적인 장애 요인이 될 것입니다.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [5월 12, 2025, 6:32오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/5 "2025-05-12T06:32:30Z")

</div>

아니, 그건 불가능해. 그렇게 하면 플러그인이 지나치게 복잡해져.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [5월 23, 2025, 2:28오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/6 "2025-05-23T02:28:26Z")

</div>

> [@Paul\_King](#):
>
> 이 플러그인이 이전에 깨지기 전까지 그룹 자동화가 하던 것과 같은 일을 수행하는 대안적인 방법을 제공할 수 있을지 궁금했습니다.

대신 그 문제가 수정되도록 부드럽게 요청하는 것을 권장합니다!

> [@RGJ](#):
>
> 아니요, 그 일은 일어나지 않을 것입니다. 그렇게 하면 플러그인이 지나치게 복잡해지니까요.

알겠습니다!!! 이 플러그인에 대한 훌륭한 작업에 다시 한번 감사드립니다. 지금까지 저에게는 완벽하게 작동하고 있습니다.

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [5월 23, 2025, 3:26오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/7 "2025-05-23T03:26:51Z")

</div>

> [@nathank](#):
>
> 그 문제를 수정하도록 부드럽게 주장해 보시길 권합니다!

@nathank 안녕하세요. 이미 그렇게 했고, 버그 토픽도 생성되었는데, 해당 버그 토픽이 중재자(모더레이터)에 의해 원래 [스레드](https://meta.discourse.org/t/discourse-automation/195773/162)로 되돌려졌습니다. 새로운 버그 토픽을 생성할 때 특히 문제를 재현할 수 있는 능력을 갖추어야 한다는 제안과 함께였죠(저는 이미 문제를 재현해 두었습니다).

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [5월 23, 2025, 4:26오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/8 "2025-05-23T04:26:49Z")

</div>

아, 그렇죠. 그리고 나서 제대로 된 버그 보고를 했습니다:

> [@‘사용자 최초 로그인’ 트리거를 사용할 때 멀티셀렉트 필드에서 첫 번째 항목만 작동합니다](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903):
>
> This appears to be a regression, as it was working a few months ago. From this discussion: Description When utilising the [Add users to groups through custom field automation](https://meta.discourse.org/t/adding-users-to-groups-through-custom-field-automation/275873) with the User first logged in Trigger, Multiselect fields aren’t being handled correctly - only the first entry seems to be utilised by the automation. Of note, the User first logged in Trigger is working just fine with Text and Dropdown fields, and also with Multiselect fields if the user only selects a single option. A…

이제 모두를 잘 연결해 두었습니다!

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [5월 23, 2025, 4:50오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/9 "2025-05-23T04:50:04Z")

</div>

네이선, 감사합니다. 제 인스턴스에서도 재현할 수 있습니다. 커스텀 필드 자동화를 테스트해 봤는데, 다중 선택 그룹 기능이 실제로는 기대대로 작동하지 않는 것 같습니다. 사용자가 선택한 그룹 중 첫 번째 그룹만 자동으로 가입됩니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/5/b/e5bab01d7a9d40af11a8dd8ee6953ead5c6a982a.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/0/6/a066afd6133dfa3df07dff7714ed523b386aa8e0.png)

![image](https://global.discourse-cdn.com/meta/original/4X/d/8/2/d828d4ae56230d966d40bab54486202ca0f27e4f.png)

---

<div class="post-metadata">

### Author: ![Paul\_King](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/paul_king/32/165426_2.png) [@Paul\_King](https://meta.discourse.org/u/Paul_King)
#### Post date: [5월 23, 2025, 9:00오전 UTC](https://meta.discourse.org/t/only-the-first-entry-working-with-multiselect-fields-when-user-first-logged-in-trigger-used/362903/10 "2025-05-23T09:00:03Z")

</div>

> [@Lilly](#):
>
> 사용자가 선택한 첫 번째 그룹만 자동으로 가입됩니다.

제 경우, 커스텀 사용자 필드에 어떤 값이 표시되든 명시적으로 가입된 그룹이 하나도 표시되지 않습니다.

 ![The image shows an example of forum user information for a professional level, specifically a "Public Forum User" without two-factor authentication, and indicates that the user is an NZIA Practice member and an NZ registered architect without an employer listed. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/6/6/1/661bf999f788b417f6e144effc9bff416e241681.png)

커스텀 사용자 필드를 통해 선택된 그룹 이름이 표시되어야 하는데, ‘Custom’ 그룹 필드가 비어 있습니다.

 ![The image shows a user interface with a "Groups" section, displaying options to select the "Automatic" group and show a "trust_level_0" group, along with a "Select..." button and a "Custom" category for further options. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/5/6/f/56f9c64151753b7b9f9c21bb1358625c8010df0f.png)
