Assigning Resources and Roles to Activities