Assign to Me button not working properly

boilermakernet0
Kilo Explorer

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!

assign to me.PNG

8 REPLIES 8

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!


function assignME(){


  g_form.setValue("assigned_to", g_user.userID);


  gsftSubmit(null, g_form.getFormElement(), 'sysverb_update_and_stay');


  return;


Thanks Trisha!


HugoFirst
Kilo Sage

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.