finish deserialization of workflow from database