The status of an activity is determined based on the scheduled times for the tasks. See CPM. The traffic-light located to the right of the activity, shows the adherence to the timeline.