Solving workflow problems