My dog gets so excited about OUTSIDE that he sometimes forgets what he's there for - he'd rather sniff things for ten minutes than waste any time on waste. I taught him command words for #1 and #2, which helps. If all else fails, I've found that some exercise tends to get their bowels moving - a brisk walk around the block will probably result in a poo where just letting them wander around the yard might not.