From 59a2c4d9ce0327bed8e3380d2834e4ea6bde2e99 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Fri, 10 Oct 2025 11:06:12 +0800 Subject: [PATCH] fix: The discriminator is empty and the judgment is incorrect --- apps/application/flow/compare/is_null_compare.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/application/flow/compare/is_null_compare.py b/apps/application/flow/compare/is_null_compare.py index c2b1769c8fb..09c115c98d9 100644 --- a/apps/application/flow/compare/is_null_compare.py +++ b/apps/application/flow/compare/is_null_compare.py @@ -18,4 +18,7 @@ def support(self, node_id, fields: List[str], source_value, compare, target_valu return True def compare(self, source_value, compare, target_value): - return source_value is None or len(source_value) == 0 + try: + return source_value is None or len(source_value) == 0 + except Exception as e: + return False