Dear friend, read carefully.
In Luke 22:41-42, we see outlined the prayer of consecration and dedication: "And He [Jesus] was withdrawn from them (Peter, James and John) about a stone's throw, and He knelt down and prayed, saying, "Father, if it is Your will, take this cup away from Me; nevertheless not My will, but Yours, be done."
He was praying, in effect, "If there is any other way to do this, let's do it that way." But the key for Jesus, and for us, is, "Nevertheless not My will, but Yours, be done."
You pray that God's will would be done when you don't know His will or don't know if an alternative path that appears is equally "correct" or godly. In the absence of direct instructions, the prayer of consecration and dedication says you will allow God to set your direction or make your decisions.
The prayer of consecration and dedication works when you have two (or more) godly alternatives before you, and you are not getting a clear sense at that time about which option God wants you to take. When the direction is unclear, but any of the options appear to be legitimate, righteous options, that is the perfect time to say, "Lord, if it be Your will, I'm going to go with option A."
Believe me, He will let you know if you are taking the wrong fork in the road.