|
@@ -595,8 +595,8 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
|
|
|
: null
|
|
|
: CheckFlowDirection(currentStep.BusinessType, stepDefine.BusinessType);
|
|
|
|
|
|
- if (originStep.NextHandlers.Any())
|
|
|
- stepOption.Handler = originStep.NextHandlers.First(d => d.Key == originStep.HandlerId || d.Key == originStep.HandlerOrgId);
|
|
|
+ if (originStep.Handlers.Any())
|
|
|
+ stepOption.Handler = originStep.Handlers.FirstOrDefault(d => d.Key == originStep.HandlerId || d.Key == originStep.HandlerOrgId);
|
|
|
|
|
|
steps.Add(stepOption);
|
|
|
}
|