15 lines
493 B
C#
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;
|
|
}
|
|
} |