diff --git a/apps/application/flow/i_step_node.py b/apps/application/flow/i_step_node.py index 3d30758a27c..360c46bb596 100644 --- a/apps/application/flow/i_step_node.py +++ b/apps/application/flow/i_step_node.py @@ -32,7 +32,7 @@ def write_context(step_variable: Dict, global_variable: Dict, node, workflow): if workflow.is_result(node, NodeResult(step_variable, global_variable)) and 'answer' in step_variable: answer = step_variable['answer'] yield answer - workflow.append_answer(answer) + node.answer_text = answer if global_variable is not None: for key in global_variable: workflow.context[key] = global_variable[key]