public void Bind(WorkItem workItem, List<Goal> goals)
 {
     Name = workItem.FormatWorkitemName();
     Goals = goals.SelectMany(g => g.GoalStates.Select(s => String.Format("{0} {1} {2}", s.Asset, s.Predicate, s.Value))).ToList();
     Tasks = workItem.taskVariables.ContainsKey("Tasks") ? workItem.taskVariables["Tasks"].ExtractTasks() : new List<string>();
 }