How to create a Bulk Approve button on the Time Cards related list for Project Workspace?

ammar_k
Tera Expert

Hello,

I need to create a "Bulk Approve" list action on the Time Card (time_card) related list when viewed from a Project (pm_project) form. It needs to allow users to select multiple rows via checkboxes and update their state to approved all at once.

This needs to work in the Project Workspace.

What is the best practice setup for this? Should it be done via a standard UI Action, or do I need a separate Declarative Action for the Workspace view to capture the checked row IDs?

Any code snippets or configuration steps would be greatly appreciated.

Thanks!

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@ammar_k 

it all depends on where you want this

Workspace -> Related list action you need to create then it will be shown in related list

Native -> List Choice UI action on time_card table for bulk update

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Workspace -> Related list 

@ammar_k 

then you need to create workspace related list action

check some OOTB ones and create similary

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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