TDQ-9246:fix the analysis context issues:
1. when "conn per ana" is empty, can not save
2. anytime, context variable can be selected
3. under context mode, when run analysis, check the context value, if
invalid, exit