Possible to remove a choice from a reference variable if it is already selected in a Multirow Variable set?

Kris V
Kilo Guru

I've got a Multirow variable set that is set up to return users only associated to a common cost center - that part works great.

What I am wondering is if there is something out there that can remove a choice from that reference list once that user has been selected. Currently I can select the user, fill out the mandatory fields and Add them to the MRVS. Then when I click "Add" again, that same user is still there and available for selection. Once they are selected I'd like to remove them. 

Has anyone ever done this or know how?

Here is an example of what I am talking about - I have already selected myself and added my record to the MRVS, but when I click Add again, I am still there available for selection.

find_real_file.png

6 REPLIES 6

naveen14
Kilo Guru

Hi @Kris V 

OOB we had an option but it will show the user to select but it won't accept to add .

 

Solution :

you can find this(Unique , Unique Values Only)2 fields for each variable. On username field you can make this 2 fields as true then it won't allow duplicate entry.

 

Regards,

Naveen

 

Murthy Ch
Giga Sage

@Kris V 

You can check the Unique Checkbox on JMP User Name

So that you cannot select the same user again but the user is still visible on the list but you cant add the row.

Same explained in my article. Refer this:

https://community.servicenow.com/community?id=community_article&sys_id=a0dcbf0fdbbc8150e515c22305961...

 

Thanks,

Murthy

 

Thanks,
Murthy