From ada8800bff301077c02145c81bc810470674247c Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Fri, 30 Jan 2026 22:13:56 -0500 Subject: [PATCH] fix(04): fix Check Logs Match Count type validation Changed typeValidation from 'strict' to 'loose' and rightValue from strings to numbers to fix type mismatch error in Switch node conditions. Co-Authored-By: Claude Opus 4.5 --- n8n-workflow.json | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/n8n-workflow.json b/n8n-workflow.json index 6ce548c..33ee5ea 100644 --- a/n8n-workflow.json +++ b/n8n-workflow.json @@ -1850,14 +1850,13 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", - "typeValidation": "strict" + "typeValidation": "loose" }, "conditions": [ { "id": "count-negative", "leftValue": "={{ $json.matchCount }}", - "rightValue": "0", + "rightValue": 0, "operator": { "type": "number", "operation": "lt" @@ -1873,14 +1872,13 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", - "typeValidation": "strict" + "typeValidation": "loose" }, "conditions": [ { "id": "count-zero", "leftValue": "={{ $json.matchCount }}", - "rightValue": "0", + "rightValue": 0, "operator": { "type": "number", "operation": "equals" @@ -1896,14 +1894,13 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", - "typeValidation": "strict" + "typeValidation": "loose" }, "conditions": [ { "id": "count-one", "leftValue": "={{ $json.matchCount }}", - "rightValue": "1", + "rightValue": 1, "operator": { "type": "number", "operation": "equals" @@ -1919,14 +1916,13 @@ "conditions": { "options": { "caseSensitive": true, - "leftValue": "", - "typeValidation": "strict" + "typeValidation": "loose" }, "conditions": [ { "id": "count-many", "leftValue": "={{ $json.matchCount }}", - "rightValue": "1", + "rightValue": 1, "operator": { "type": "number", "operation": "gt"