Filter condition is not coming as expected in the related list

Abhilasha G T
Tera Contributor

Hi Team,

 

I have created one related list on the Change record , Name> CI Outcomes

using below Relationship

AbhilashaGT_0-1737114034342.png

but the filter condition is not coming

AbhilashaGT_2-1737114191567.png

 

AbhilashaGT_4-1737114337930.png

 

 

 

it should come like below,

AbhilashaGT_3-1737114267544.png

i tried searching the edit default filter , its not showing,

 

How to achieve this , can anyone let me know.

 

Regards,

Abhilasha G T

 

11 REPLIES 11

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhilasha G T 

script looks good to me

Are you sure the choice value is correct for field "change_task_type" on change_task table?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

hi Ankur,

 

yes choice value is correct.

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhilasha G T 

other way is Configure -> List control on OOB "Change Tasks" related list and add the default filter

1) you might not find "Edit default filter" on form but you can modify the form layout in default update set of global scope and add it

2) then you can give your Type Condition

 

AnkurBawiskar_0-1737116816059.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Thanks for your reply,

i did the same way as you mentioned, but in Edit default filter , options are not coming only showing the keywords ,

AbhilashaGT_0-1737122244615.png

 

AbhilashaGT_1-1737122269581.png

Any modification required in the code, please let me know.

in show related fields also ntg coming.

Thank you in advance

 

Regards,

Abhilasha G T