From 4f90ee71d943596cd1bb6350854f1daefe46e626 Mon Sep 17 00:00:00 2001 From: Raymond den Haan Date: Wed, 7 Aug 2024 11:33:38 +0200 Subject: [PATCH] Add TODO --- .../Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs b/src/modules/Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs index 0b74e6ca6..be3520236 100644 --- a/src/modules/Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs +++ b/src/modules/Elsa.Workflows.Core/Contexts/WorkflowExecutionContext.cs @@ -529,7 +529,8 @@ public partial class WorkflowExecutionContext : IExecutionContext WorkflowSubStatus.Suspended => WorkflowStatus.Running, _ => throw new ArgumentOutOfRangeException(nameof(subStatus), subStatus, null) }; - + + // TODO: Check if we should not use the target subStatus here instead. private bool ValidateStatusTransition() { var currentMainStatus = GetMainStatus(SubStatus);