File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
apps/application/flow/step_node/loop_node/impl Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -226,9 +226,11 @@ class BaseLoopNode(ILoopNode):
226226 def save_context (self , details , workflow_manage ):
227227 self .context ['loop_context_data' ] = details .get ('loop_context_data' )
228228 self .context ['loop_answer_data' ] = details .get ('loop_answer_data' )
229- for key , value in details ['context' ].items ():
230- if key not in self .context :
231- self .context [key ] = value
229+ self .context ['result' ] = details .get ('result' )
230+ self .context ['params' ] = details .get ('params' )
231+ self .context ['run_time' ] = details .get ('run_time' )
232+ self .context ['index' ] = details .get ('current_index' )
233+ self .context ['item' ] = details .get ('current_item' )
232234 self .answer_text = ""
233235
234236 def get_answer_list (self ) -> List [Answer ] | None :
You can’t perform that action at this time.
0 commit comments