Looks good, but I think our task objects should still have a relation to the workflow object (in the same way that taskdetail is related to flowdetail). At least for right now.