Implement Property Value Validation in the Application Model
-
For the newly created node, set the Criteria property to the "Status != 'NotStarted'" value. Set the ID property to "TaskIsNotStarted", TargetContextIDs to "MarkCompleted", TargetType to "DevExpress.Persistent.BaseImpl.Task" and the CustomMessageTemplate to "Cannot set the task completed because it is not started".