using e_suite.Database.Core.Tables.Activity; using e_suite.Workflow.Core.Attributes; using e_suite.Workflow.Core.Enums; using e_suite.Workflow.Core.Interfaces; using eSuite.Core.Enums; namespace e_suite.Workflow.Core.Tasks; /// /// A Milestone task does not have any specific processing, so is ready to complete as soon at it starts. /// [GeneralTask] public class MilestoneTask : TaskBase, IOutcome { public Dictionary OutcomeActions { get; set; } = []; public override async Task OnStartedAsync(ActivityTask activityTask) { await base.OnStartedAsync(activityTask); activityTask.ActivityState = ActivityState.ReadyToComplete; //TODO need to set the outcome of completed here } }