With decreasing priority:
  • The area/domain/nature of your organization doesn't express anymore you professional inspirations. You realize that (even if you were good on it) the career path you have chosen - even if it looked the right choice when made the call - doesn't express you anymore. Most likely changing the setting in such a context will be not that trivial and will require tremendous investment, but still it is worth making the effort. Professionally you have a long path to go until you give up work, you have to be sure that direction you have chose satisfies you at the minimum and you can project yourself for the decades to come. 
  • You have doubts on the strategic development plan of your organization as instructed from your upper management colleagues. You believe that either the project (even if well aligned with your objectives) lacks of sufficient support towards its execution or the ambition is limited compared to your own standards and therefore you cannot project yourself in the long run and you are convinced that even if they manage to succeed on their plans still your organization will not be a top division player according to your expectations. Walk out, look for a more ambitious project where you can make the difference. It is better contributing less to a great effort! than contributing a lot, to a project which you think that either will fail or will not be remembered as an outstanding one. 
  • You have reached the top of what your organization can offer you and you believe that there isn't much left to contribute to your organization success (according to the career path you have chosen) or to improve yourself. You can comfortably sit on your success but in the long run this will not work out, most likely you will get bored, and will feel frustrated for not moving forward. Looking for a new challenge, either through a new more competitive environment pushing you to excellence or through a career plan change. 
  • You believe that your organization fails to attract top level leaders/management or internal promotion policies in the way/criteria are done (one would expect that these should be added value/contribution/experience/credentials) fail to provide the expected outcome. Consequently, most of the upper management does not assume risky, visionary calls which most likely are the ones that will make the difference in the future according to your opinion and assume conventional zero-risk management policies. It will be just a matter of time before you crash with the upper management, which most likely will make your life really hard. Also, in such a setting decisions at some point might become irrational (according to your standards) since due to the absence of making hard calls - that usually dissatisfy  many people - decisions will be taken according to the average dissatisfaction rule on the basis of solidarity.
  • You have integration issues (that might be due to yourself), and constantly you have to fight to make things happen that seem trivial to you and whenever this happen you are almost alone. Obviously you are not at the right place, and even if you keep succeeding on making things happen, this progressively will go away, and still at some point you will realize that tremendous amount of your productive time will be invested on navigating within the system and fighting against your colleagues.
Ps. The above are thoughts reflect my state of mind after two decades of experience in excellent places which did greatly appreciate my work both in academia and industry as well as in Europe and United States.
https://twitter.com/AgoniGrammi