Workflows

Difference between AND vs OR logic in lists, workflows, and reports: ความแตกต่างระหว่าง AND, OR ในโลจิค

Difference between AND vs OR logic in lists, workflows, and reports: ความแตกต่างระหว่าง AND, OR ในโลจิค

วันที่เผยแพร่ 2 ธันวาคม 2567

Available with any of the following subscriptions, except where noted:

All products and plans


มีตรรกะสองประเภทสำหรับตัวกรองรายการหลายรายการ ทริกเกอร์การเข้าเวิร์กโฟลว์ และตัวกรองรายงาน:

AND logic

ในการระบุ Object ที่ตรงตามทุกเกณฑ์ในชุดของ list filters หรือ workflow enrollment triggers ให้ใช้ AND logic เมื่อกรอง records ใน list ระบบจะใช้ AND logic โดยอัตโนมัติภายใน filter group

ตัวอย่าง:
หากต้องการระบุ contacts ที่มาจาก North America AND มี lifecycle stage เป็น Customer ให้คลิก AND ก่อนเพิ่ม filter หรือ trigger ที่สอง

เมื่อใช้เกณฑ์ AND นี้ เฉพาะ contacts ที่เป็นลูกค้าใน North America เท่านั้นที่จะถูกเลือก

example-AND-logic

เฉพาะผู้ติดต่อที่ตรงตามเกณฑ์ในพื้นที่แรเงาเท่านั้นที่จะรวมไว้

image-png-Aug-12-2021-01-13-10-09-PM

OR logic

ในการระบุ Object ที่ตรงตามอย่างน้อยหนึ่งเกณฑ์ในชุดของ list filters หรือ workflow enrollment triggers ให้ใช้ OR logic เมื่อกรอง records ใน list ระบบจะใช้ OR logic โดยอัตโนมัติระหว่าง filter groups ที่แยกจากกัน

ตัวอย่าง:
หากต้องการระบุ contacts ที่มาจาก North America OR มี lifecycle stage เป็น Customer ให้คลิก OR ก่อนเพิ่ม filter หรือ trigger ที่สอง

example-OR-logic

เมื่อใช้เกณฑ์ OR นี้ contacts ที่มาจาก North America, contacts ที่มี lifecycle stage เป็น Customer และ contacts ที่เป็นลูกค้าใน North America ทั้งหมดจะถูกเลือก

image-png-Aug-12-2021-01-13-41-38-PMเฉพาะผู้ติดต่อที่ตรงตามเกณฑ์ในพื้นที่แรเงาเท่านั้นที่จะรวมไว้

ที่มา: https://knowledge.hubspot.com/lists/difference-between-and-vs-or-logic-in-lists-and-workflows