Function createDrainDelegateOperation