Adapt. This is in direct contrast to the other good advice: create goals and stick to them. Have a plan. Don't veer from your intended path. Stay the course.
And they're both right.
If you know what your strengths are, you can use that knowledge to write up some goals. For example, there's a teacher over at a local high school who was really good at engineering. He built a career as an engineer at some of the most prestigious companies around. He constantly updated his skills and stayed on top of his goal of becoming a successful in his field. It paid off, and eventually he retired.
So, how did he get into teaching, you wonder, if his strength was engineering? In truth, his strengths were in learning new skills and working with others to create great projects. His ability to mentor others helped him reinforce his own abilities as an engineer, but he could have been equally good at something else. He knew how to learn, how to teach and how to adapt. When he decided to leave engineering, teaching engineering was a natural next step. He didn't set out to be a teacher; he took a strong skillset and applied it somewhere else.
Today, it's critical that people keep learning. It seems cliché to sing about the times a-changin' but that is the way the world works now. Whether you are in transition or perfectly secure in your current position, remember to keep an eye on developing your skills rather than falling back on your title. The job you excel at next might not look anything like the job you have today.