Hide “Awaiting Acceptance” State from Edit Button on Workspace View

BhagyashriA
Tera Contributor

I have a requirement where, when a user selects multiple records (bulk records) from the HR Agent Workspace view and clicks the Edit button to update them, the “Awaiting Acceptance” option should not be visible in the State field.

In other words, during bulk updates from the Workspace view, the “Awaiting Acceptance” state should be hidden  from the available state choices to prevent users from selecting it.

Please refer to the screenshots below for better clarity.

BhagyashriA_0-1768979471932.png

 

 

BhagyashriA_1-1768979964973.png

 

Kindly share the approach or best practices to proceed further with this requirement.

 

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@BhagyashriA 

I doubt this is feasible

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Kindly let me know the obstacles or any feasible approach to achieve this functionality.

@BhagyashriA 

the reason being the view it opens up, client script etc doesn't run and hence you can't remove option using script in any field

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader