The cognitive process of thinking about what you will do in the event of something happening.
Process of determining the activities required to achieve a desired goal.
Thought process.