Ankur Bawiskar
Tera Patron

@harinya 

you can have multiple views and then switch the view in that related list based on form load

No other way.

See if the script shared by @folusho works for you and share the updates.

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

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