From 5e75b2510d9d698db0c9cc0f5ced3c0729f76e3c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Fri, 7 Feb 2025 11:50:24 +0800 Subject: [PATCH] fix: Fix sub application form unable to recall (#2146) --- apps/application/flow/workflow_manage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/application/flow/workflow_manage.py b/apps/application/flow/workflow_manage.py index 7ed0de42e..9becaf818 100644 --- a/apps/application/flow/workflow_manage.py +++ b/apps/application/flow/workflow_manage.py @@ -460,6 +460,7 @@ class WorkflowManage: self.node_context.append(current_node) def hand_event_node_result(self, current_node, node_result_future): + runtime_node_id = current_node.runtime_node_id real_node_id = current_node.runtime_node_id child_node = {} view_type = current_node.view_type @@ -487,7 +488,7 @@ class WorkflowManage: current_node.up_node_id_list, content, False, 0, 0, {'node_type': current_node.type, - 'runtime_node_id': real_node_id, + 'runtime_node_id': runtime_node_id, 'view_type': view_type, 'child_node': child_node, 'node_is_end': node_is_end, @@ -499,7 +500,7 @@ class WorkflowManage: current_node.id, current_node.up_node_id_list, '', False, 0, 0, {'node_is_end': True, - 'runtime_node_id': real_node_id, + 'runtime_node_id': runtime_node_id, 'node_type': current_node.type, 'view_type': view_type, 'child_node': child_node,