public Schedule CreateProcessSchedule(long ProcessID, string scheduleVersion, DateTime nextScheduled, string repeatSchedule, string instantiatedUsers)
{
long ScheduleID = 0;
Atul_v1Data adb = new Atul_v1Data();
Schedule s;
ScheduleID = adb.CreateProcessSchedule(ProcessID, scheduleVersion, nextScheduled, repeatSchedule, instantiatedUsers);
s = adb.GetProcessScheduleByID(ScheduleID);
this.PushNextScheduleToAdminQueue(s, s.NextScheduledDate);
return s;
}