diff --git a/docs/4. Product Features/03. Flows/2. Flow Actions/Split By/01. Custom Expression.md b/docs/4. Product Features/03. Flows/2. Flow Actions/Split By/01. Custom Expression.md
index cec993433..bf6d7c602 100644
--- a/docs/4. Product Features/03. Flows/2. Flow Actions/Split By/01. Custom Expression.md
+++ b/docs/4. Product Features/03. Flows/2. Flow Actions/Split By/01. Custom Expression.md
@@ -4,7 +4,7 @@
| 4 minutes read |
Level: Intermediate |
- Last Updated: October 2025 |
+ Last Updated: December 2025 |
@@ -139,6 +139,17 @@ In the given example, the regex used is:
+### 10. Comparing the values contained in variables.
+
+Example `<%= case "@results.assigned_arm_id" do "@results.control_arm_id" -> "Control"; "@results.treatment_arm_id" -> "Treatment"; end %>`
+
+This syntax enables to split based of if value in `@results.assigned_arm_id` matches either the value of present in `@results.control_arm_id` or `@results.treatment_arm_id`.
+
+The expression creates two categories "Control" and "Treatment", like shown in the screenshot
+
+
+Similar syntax can be used to check for multiple variables.
+
---
## Advanced Syntax Examples