Example #1
0
 public override void ChangeStatus(WfStatusType newstatus)
 {
     IWfStateEventAudit audit = new WfStateEventAudit(this, this.proinst.Status, newstatus);
     this.requester.ReceiveEvent(audit);
     if (((base.WfState == WfStateType.Open) && (base.WhileOpen == WhileOpenType.NotRunning)) && (newstatus == WfStatusType.WF_RUNNING))
     {
         if (LoggingService.IsInfoEnabled)
         {
             LoggingService.Info("Started process:" + this.proinst.Id);
         }
         this.proinst.StartDate = new DateTime?(DateTimeHelper.GetNow());
     }
     base.ChangeStatus(newstatus);
 }
Example #2
0
 public override void ChangeStatus(WfStatusType newstatus)
 {
     IWfStateEventAudit audit = new WfStateEventAudit(this, this.actinst.Status, newstatus);
     base.ChangeStatus(newstatus);
 }