Added workflow type to the TeamFactory (#1723)