|
@@ -166,9 +166,9 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
|
|
|
if (startStep == null)
|
|
|
throw new UserFriendlyException("未正确配置开始节点");
|
|
|
//var firstStepDefines = definition.FindSteps(startStep.NextSteps.Select(d => d.Code));
|
|
|
- var firstStep = definition.FindStep(startStep.Code);
|
|
|
+ var firstStep = definition.FindStep(startStep.NextSteps.First().Code);
|
|
|
var secondStepDefines = definition.FindSteps(firstStep.NextSteps.Select(d => d.Code));
|
|
|
-
|
|
|
+
|
|
|
|
|
|
return new DefineWithSelectionStepsDto
|
|
|
{
|