We are running 2016 SCSM UR4 and we have issues where staff spend a lot of time completing change requests only for the portal to briefly claim that there are errors on the form before it gets stuck in a state where the 3 dots appear to be loading and but doing anything quickly. Sometimes this is because of an attachment and the portal recovers an hour or so later or it is around the time that the portal timeout countdown begins.
Each time the information available in the logs is almost non-existent. I just wondered if any other companies have suffered from this, what they managed to find out and ultimately if they managed to find a workaround or solution?
0
Answers
This could be a case of having to raise a support ticket in the Cireson Support Portal for more specific support with our team.
It seems like when you raise a CR it doesn't contact the server to show you are active so it can time out even as you type and trying to complete the ticket. It sounds to me like the portal should periodically contact the server to check if you are active and extend the timeout or refresh it. It should do this OOB.
Strangely we have following the KB when we upgraded the portal but we are still getting anti-forgery messages but as you said it might be the timeouts. Again, if you click refresh it should keep the original token or warn you that the session is dead and changes may be lost.
@Sean_Terry, in our case, it seems to be due to session timeout each time, since the keys definitely do match. It sounds like we are similar in both regards. When the session warning comes up and the user acknowledges it to keep their session going, that is apparently the point at which their token is no longer valid, but all indications on the screen are that everything is fine. Then when the user tries to submit, they get the mismatched anti forgery token error.
It would in many cases be preferable for the user to get an "oops, you're about to lose an hour's worth of work, sorry that you have to ask a potentially very angry VIP all the same questions again!" error so that at least they could stop putting time into a form that has no chance of being saved, and could even copy it out to notepad possibly. I have entered app.lib.mask.remove() on their browser consoles when people let me know about it in real time, to at least let them try to save their work out.
As you pointed out, it would obviously be best if the system would either preserve the current token or properly establish a new one at the point the user keeps their session alive, though.
Happy to raise this as an idea if we can drum up enough votes. I don't think we could wait a year or two to reach a decent total though.
1) The warning should point out that refreshing the session will lose any changes
2) There should be an option in the pop-up to keep the changes if the user has made an error by leaving their console to long. Everyone gets distracted. Something similar to the Failure page. At least staff could recover their data.
3) Ideally, clicking refresh would take the info and open a new CR and populate what they had. It may be new but to the end user nothing has changed.
I'm sure there will be workarounds to this but it would be good if the portal did this out of the box.
I would like to extend the countdown and implement the suggested code in IR81310
Sure, anyone will concede that with the proper logical gymnastics all of the above can be categorized as "working as designed" but it is infuriating to users and they are just using the product normally but getting punished for it and they do not know why. And most importantly, nothing can be done even by the most savvy user to avoid the loss of their work.
At least in our case (and there is an IR and a PR for it), users are powerless to keep their session alive no matter how attentive they are (no amount of lead time helps--clicking the warning message does not prevent the token from expiring even if the session stays alive). They are essentially just getting punished for using the app too long and given false hope when they think they are keeping their session alive. I have been told that sticky sessions would not necessarily solve this, as well.
Apart from being a terrible bullet point for the sales demo, this is simply not an acceptable user experience. Data is lost, analyst work effort is doubled, customers are kept on the phone or called back to repeat themselves for no justifiable reason while losing extremely valuable billable time, and no workaround is known. It needs to be better, and soon. I look forward to someone invalidating this post with news of a fix.
I understand your frustration, and I hope you will reach out to me directly or @mention me in the future. I only recently heard of this particular issue...
clicking the warning message does not prevent the token from expiring even if the session stays alive
And I'm already looking into this to see if it's a configuration issue, confusion with documentation or out of the box settings, or a bug. I should have a better answer later this week.
Thanks,
Seth