In Work Party section it is said that work party class can be either Data-Party class or one of its descendants. But in the work party exercise , we have created 'Employee' work party whose party class is "TGB-HRApps-Data-Employee" . why is it not Data-Party-Person?
because our data object which describes the employee is not in data-party and it's not provided by pega, but it's in TGB class tree. If you would use properties from data-party to describe an employee, data-party would be the correct context then.