TrackStudio Enterprise 3.2
Create Task / BEFORE:

The following trigger complains if the Deadline task property has not been filled in for the task:

if(task.getDeadline() == null){
     throw new gran.exception.UserMessageException("Please fill in the Deadline task property");
}
return task;
Copyright (c) 2002-2006. All rights reserved.