Assign to Me button not working properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-05-2015 08:39 AM
In our ServiceNow instance we have an 'Assign to me' button next to the Assigned to field where a user can click on that button and assign a ticket to themselves. Some of my users (they are definitely members of the particular group) have reported they get the attached message when clicking the button. It has never happened to me personally but others have had random issues with it.
Any assistance you could provide would be a great help.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:34 AM
Hi Aaran it's definitely possible as we have it in our instance! I'm the lowly manager though and not our brilliant dev team. I'll ping them and return script for you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 10:42 AM
function assignME(){
g_form.setValue("assigned_to", g_user.userID);
gsftSubmit(null, g_form.getFormElement(), 'sysverb_update_and_stay');
return;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 01:49 PM
Thanks Trisha!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2017 12:06 PM
Hello boilermakernet08,
It looks like you're getting lots of great advice and ideas to address your issue. I want to give you one more thought, and it's going in a different direction than scripting. Would you confirm that you don't have a duplicate user in the system user table for this individual? One record might belong in to the group and the "person logged in" could be logged in as the other duplicate record. Therefore no match. I won't say why this came to mind for me. But I will say that I've spent alot of time debugging issues that turned out to be duplicate records.