We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Auto refresh related list declarative actions

Vedavalli
Mega Sage

Hi
I've a declarative related list action in workspace then after adding the record If i refresh then the added records are reflecting.
I want after selecting the records once I click on add it should be auto refreshed and it should show the items.

Thank you.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Vedavalli 

I doubt this is feasible.

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

Rajsekhar Dusi
Tera Contributor

Hi @Vedavalli,

 

Some additional information would help, like if you are using OOB action or a custom action. But If I'm assuming it correctly, when you click on a declarative action, you want to refresh the related list. For this, we can use GlideList API function g_list.refresh(), which would do the same action as clicking on the refresh button.

 

Best,

Raj