Fixed workflows and flowdetails to ref by uuid...