This is called accepting the possibility of failure and moving with the alternatives flow. You are doing what is required of you at the same time as being indifferent to the end result, or rather, being prepared to think of any outcome as successful.