Avoid exception when an object has no workflow