File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/WorkflowManager/WorkflowExecuter/Services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ private async Task ProcessArtifactReceivedOutputs(ArtifactsReceivedEvent message
270270 }
271271 }
272272
273- var currentTask = workflowInstance . Tasks ? . FirstOrDefault ( t => t . TaskId == taskId ) ;
273+ var currentTask = workflowInstance . Tasks ? . Find ( t => t . TaskId == taskId ) ;
274274
275275 currentTask ! . OutputArtifacts = validArtifacts ; // added here are the parent function saves the object !
276276
@@ -686,7 +686,7 @@ private async Task<bool> HandleOutputArtifacts(WorkflowInstance workflowInstance
686686 return false ;
687687 }
688688
689- var currentTask = workflowInstance . Tasks ? . FirstOrDefault ( t => t . TaskId == task . TaskId ) ;
689+ var currentTask = workflowInstance . Tasks ? . Find ( t => t . TaskId == task . TaskId ) ;
690690
691691 if ( currentTask is not null )
692692 {
You can’t perform that action at this time.
0 commit comments