public Assignment ConvertToAssignment(Core.Runtime.WorkflowRuntime runtime)
 {
     return(new Assignment()
     {
         AssignmentId = Id,
         AssignmentCode = AssignmentCode,
         Name = Name,
         ProcessId = ProcessId,
         StatusState = StatusState,
         IsDeleted = IsDeleted,
         IsActive = IsActive,
         DateCreation = runtime.ToRuntimeTime(DateCreation),
         DateFinish = runtime.ToRuntimeTime(DateFinish),
         DateStart = runtime.ToRuntimeTime(DateStart),
         DeadlineToStart = runtime.ToRuntimeTime(DeadlineToStart),
         DeadlineToComplete = runtime.ToRuntimeTime(DeadlineToComplete),
         Description = Description,
         Executor = Executor,
         Tags = Tags,
         Observers = Observers
     });
 }
 public void Init(WorkflowRuntime runtime)
 {
     _runtime = runtime;
 }
Example #3
0
 public void Init(Core.Runtime.WorkflowRuntime runtime)
 {
     _runtime = runtime;
 }