diff --git a/src/WorkflowEngine.Core/ActionExecutor.cs b/src/WorkflowEngine.Core/ActionExecutor.cs index 0e41de1..82fb27b 100644 --- a/src/WorkflowEngine.Core/ActionExecutor.cs +++ b/src/WorkflowEngine.Core/ActionExecutor.cs @@ -94,7 +94,7 @@ public async ValueTask ExecuteAsync(IRunContext context, IWorkflo Key = action.Key, Status = "Succeded", Result = actionResult, - DelayNextAction = (actionImplementation is IWaitAction) ? (TimeSpan)actionResult: null + DelayNextAction = (actionImplementation is IWaitAction) ? (TimeSpan?)actionResult: null }; await _outputsRepository.AddAsync(context, workflow, action, result);