using e_suite.Workflow.Core.Interfaces;

namespace e_suite.Workflow.Core.Extensions;
public static class WorkflowVersionExtensions
{
    /// <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 IWorkflowVersion workflow)
    {
        //todo Check to see if the StartDate has passed.
        return true;
    }

}