Ver Fonte

fixed: 结束流程时,trace update

xf há 1 ano atrás
pai
commit
7f7f743d4a

+ 2 - 0
src/Hotline/FlowEngine/Workflows/WorkflowDomainService.cs

@@ -320,6 +320,8 @@ namespace Hotline.FlowEngine.Workflows
 
             await _workflowStepRepository.UpdateRangeAsync(updateSteps, cancellationToken);
 
+            await NextTraceAsync(workflow, dto, currentStep, cancellationToken);
+
             #endregion
 
             #region 处理流程