I have a gadget that identifies callers (via a database) and then performs a screen pop with a form for agents to fill out if certain criteria are met regarding the caller. I want to place the agent into a 'Work/WrapUp' state only when the form is triggered but cannot get the state to change when the screen pops (note the call has ended as this is what triggers the screen pop). Anyone know why a user.setState(states.WORK) statement (where states = finesse.restservices.User.States) would not trigger the desired result?