PTC FlexPLM Fundamentals > Calendars > Starting and Completing Tasks
  
Starting and Completing Tasks
When a calendar task is started or completed, actual dates are used. When a task is started, its actual start date is set. When a task is completed or ended, its actual end date is set. In both cases, future task dates are re-calculated based on the new date information.
In many cases, calendar tasks are started and completed from code that is embedded inside of workflow expressions. A task can be started or completed using the methods of the LCSCalendarService (or LCSCalendarTaskLogic if already in a transaction).
startTask(owner: WTObject, taskName : String) : LCSCalendarTask
endTask(owner: WTObject, taskName : String) : LCSCalendarTask