GetProcessScheduleByProcessID() public method

public GetProcessScheduleByProcessID ( long ProcessID ) : Schedule
ProcessID long
return Schedule
Esempio n. 1
0
 public Schedule GetProcessScheduleByProcessID(string ProcessID)
 {
     Schedule s;
     long AtulProcessID = Convert.ToInt64(ProcessID);
     AtulBusinessLogic adb = new AtulBusinessLogic();
     s = adb.GetProcessScheduleByProcessID(AtulProcessID);
     return s;
 }
Esempio n. 2
0
 public bool UpdateProcessScheduleByProcessID(string ProcessID, string scheduleVersion, string nextScheduled, string repeatSchedule, string instantiatedUsers)
 {
     bool success = false;
     long AtulProcessID = Convert.ToInt64(ProcessID);
     DateTime NextScheduledDate = DateTime.Parse(nextScheduled);
     AtulBusinessLogic adb = new AtulBusinessLogic();
     Schedule s = adb.GetProcessScheduleByProcessID(AtulProcessID);
     success = adb.UpdateProcessSchedule(s.AtulProcessScheduleID, scheduleVersion, s.LastInstantiated, NextScheduledDate, repeatSchedule, instantiatedUsers);
     return success;
 }