Backend/e-suite.Workflow.Core/Extensions/WorkflowExtensions.cs
2026-01-20 21:50:10 +00:00

15 lines
493 B
C#

namespace e_suite.Workflow.Core;
public static class WorkflowExtensions
{
/// <summary>
/// Returns true once the workflow has met any requirements that are needed to change the state to active.
/// For example, earliest start time has passed.
/// Or required starting information is now available.
/// </summary>
public static bool ReadyToActivate(this IWorkflow workflow)
{
//todo Check to see if the StartDate has passed.
return true;
}
}