0
0
No-Codeknowledge~6 mins

Filtering and conditional logic in No-Code - Full Explanation

Choose your learning style9 modes available
Introduction
Imagine you have a big list of things, but you only want to see some of them based on certain rules. Filtering and conditional logic help you pick out just the items you need by checking if they meet those rules.
Explanation
Filtering
Filtering means looking through a group of items and keeping only those that match a specific rule. For example, you might want to see only the red apples in a basket. Filtering helps you focus on what matters by removing everything else.
Filtering selects items from a group based on a rule.
Conditional Logic
Conditional logic uses rules that say 'if this happens, then do that.' It helps decide what to do next depending on the situation. For example, if it is raining, you take an umbrella; otherwise, you don’t. This way, decisions change based on conditions.
Conditional logic makes decisions based on yes/no rules.
Combining Filtering and Conditional Logic
Often, filtering uses conditional logic to decide which items to keep. For example, you might filter a list of people to find those who are older than 18. The condition 'age greater than 18' guides the filtering process to pick the right people.
Filtering uses conditional logic to choose items that meet specific conditions.
Real World Analogy

Imagine you are sorting your clothes. You decide to pick only the clean shirts to wear today. You check each shirt: if it is clean, you keep it; if not, you leave it aside. This is like filtering with a condition.

Filtering → Picking only clean shirts from your clothes
Conditional Logic → Checking if a shirt is clean or not before deciding
Combining Filtering and Conditional Logic → Using the rule 'clean shirts only' to sort your clothes
Diagram
Diagram
┌───────────────┐
│   Items List  │
└──────┬────────┘
       │
       ▼
┌───────────────┐
│  Apply Rule   │
│ (Condition)   │
└──────┬────────┘
       │
       ▼
┌───────────────┐
│ Filtered Items│
└───────────────┘
This diagram shows how items go through a condition to become filtered items.
Key Facts
FilteringSelecting only items that meet a specific rule from a group.
Conditional LogicMaking decisions based on yes/no questions or rules.
ConditionA rule that must be true or false to guide decisions.
Filter CriteriaThe specific condition used to decide which items to keep.
Common Confusions
Thinking filtering changes the original list permanently.
Thinking filtering changes the original list permanently. Filtering usually creates a new list with selected items, leaving the original list unchanged.
Believing conditional logic only works with numbers.
Believing conditional logic only works with numbers. Conditional logic works with any yes/no question, including text, dates, or other types.
Summary
Filtering helps pick only the items that meet certain rules from a larger group.
Conditional logic uses yes/no questions to decide what to do next.
Filtering and conditional logic work together to select items based on conditions.