How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
legacy-article
learn-legacy-article-disclaimer-text
問題
一部の役割を含み、他の役割を除外するユーザー セグメントを作成したいと考えています。 たとえば、役割 X または Y のいずれかを含み、役割 A、B、または C を含まないセグメントが必要です。これを行うには、同じセグメントに AND 変数と OR 変数の両方を設定できる必要があります。
Environment
DXP 7.2
DXP 7.3
解決策
現在、AND/OR 変数は関連付けられているため、セグメント内のすべての変数は、2 つの組み合わせではなく、AND または OR のいずれかに設定する必要があります。
これは、 LPS-95669に基づいた意図的な動作です。AND/OR の組み合わせの複数の解釈が可能であるためです。たとえば (役割 A AND 役割 B) OR 役割 C は、 役割 A AND (役割 B OR role C)、現在、セグメントでこれらの解釈を区別する方法はありません。