Opened By field is not displaying correct value

dharanikumar
Giga Guru

Hi All,

I am just looking at the incident sin my personal developer instance. And i found little strange or i dont how it works with opened by field.

 

Before executing the below steps. Login as system administrator and please add the Opened By field on to your Incident form and list views.

Case 1:

1. Open ALL Incident in the list view.

2. Click on NEW button and check the value in the Opened By Field. It should like below in the attached screenshot.

find_real_file.png

Case 2:

1. Open ALL incident in the list view.

2. In the list view select any user name in the opened by and click on show matching. It will show the incidents which were opened by the user. Please refer to the below screenshot.

find_real_file.png

3. After the second step please click on NEW button. Here in the opened by field it is showing Bud Richman name instead of current logged in user. Please check the below screenshot.

find_real_file.png

So, i just want to know how this is happening. And i want logged in user name should be populated in the new record for case 2.

-Dharani

 

 

 

 

5 REPLIES 5

Dubz
Mega Sage

This works for any field, i didn't know this functionality existed but apparently if you click new on the list view it will populate the new record with whatever you have set in your filter conditions, i tested with caller, opened by and description, it took them all. Interesting to be aware of.

Best idea is to use the create new module to create new records.

Brad Tilton
ServiceNow Employee
ServiceNow Employee

ServiceNow has some functionality built into it where if you create a record from a filtered list it will prepopulate the values from the filter into the record if you have write access to the fields. For example, if you filter a list by doing Short Description is 'Does this work?', run the filter, and then click the new button it will populate the short description field with Does this work?

It's generally a good practice to make any autopopulated fields like opened or number read only by using a write ACL on that field. If the field was read only by ACL, then it would not autopopulate with your Bud Richman user in this case.

Hi Brad,

1. Yes, i tested with the short description as well. It is taking the short description into the new record.

2. I tried with the user who is having read access on that Opened By field. When i followed the same above case 2 steps the same has been occurred like the show matching user name got populated in the field.

-Dharani