|
@@ -666,15 +666,16 @@ public class WorkflowApplication : IWorkflowApplication, IScopeDependency
|
|
|
foreach (var stepDefine in stepDefines)
|
|
|
{
|
|
|
var nextStepOption = await GetConfigStepAsync(flowType, stepDefine, cancellationToken);
|
|
|
+ nextStepOption.InputRealHandler = currentStepType == EStepType.Normal && stepDefine.StepType is EStepType.Summary or EStepType.End;
|
|
|
+ stepOptions.Add(nextStepOption);
|
|
|
+
|
|
|
if (stepDefine.StepType is EStepType.End)
|
|
|
{
|
|
|
- stepOptions.Add(nextStepOption);
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
- nextStepOption.InputRealHandler = currentStepType == EStepType.Normal && stepDefine.StepType is EStepType.Summary or EStepType.End;
|
|
|
nextStepOption.FlowDirection = CheckFlowDirection(currentBusinessType, stepDefine.BusinessType);
|
|
|
- stepOptions.Add(nextStepOption);
|
|
|
+ //stepOptions.Add(nextStepOption);
|
|
|
}
|
|
|
|
|
|
return stepOptions;
|