Q1) I have Servlet components and Model components on my page for personalization. When the targeting mode is off, the servlet component appears completely, however, when I turn on targeting, the component does not work properly. The Model components work correctly.
Q2) From another servlet component(get to know employee,who fills out info), I am getting the employeeType from an api, if the employee has >5 yrs exp, they are typeA. and if the employee has <5 yrs exp, they are typeB. I want to set these values in my store and resolve segments accordingly. How do I do that ?