On Employe Service Portal(ESC)on standard ticket page how to add a watch list functionality.

busireddy
Tera Contributor

On Employe Service Portal(ESC)on standard ticket page how to add a watch list functionality. Please check the attached screen for reference.  Kindly suggest me how can we do this functionality.Watch.png

4 REPLIES 4

Rob Sestito
Mega Sage

@busireddy - Hello!

Question: When you say to add the Watch List functionality. Are you looking to show WHO is added to the watch list for a record? Just like it shows who the requested for person is? Or are you looking to add Watch List to the portal side so that someone can be added while the record is ongoing? So, what exactly are you looking to do with the addition of the Watch List there?

 

If you are simply looking to just add the field to the top to show if/when someone is in the Watch List, you could do that through the 'HR Case Header Configuration'.

 

RobSestito_0-1744985532358.png

 

RobSestito_1-1744985580261.png

 

Once there, this will also allow for people to be added or removed

 

RobSestito_2-1744985758655.png

 

Hope this helps! Please let us know if you had something else in mind.

Cheers,

-Rob

 

*Please remember to mark replies as Helpful and or Correct when appropriate*

 

 

 

Hey,

I am looking for Incident table as well as Product support case table.So the solutions provided is not helpful.

busireddy
Tera Contributor

it's not helped, I'm looking for sc_req_item table level.

sanjaygupta
Tera Guru

Hello @busireddy 

For the Requested Item (sc_req_item) table, the Watch List field is inherited from the Task table. However, the out-of-the-box Standard Ticket Configuration does not allow the Watch List field to be added directly to the Info Fields section.

If your requirement is to allow requesters to view, add, and remove users from the Watch List after an RITM has been created, consider the following approach:

  1. Navigate to All > Standard Ticket > Standard Ticket Configuration and verify the configuration for the Requested Item (sc_req_item) table.
  2. Note that the standard configuration does not support adding the Watch List field directly to the Info Fields section.
  3. A Community workaround using a Fix Script with setWorkflow(false) has been shared to display the Watch List field in the configuration. However, this workaround has limitations: it may display existing Watch List values without providing the ability to add or remove users.
  4. For full add/remove functionality, consider implementing a custom widget or component within the appropriate Standard Ticket Page extension point or custom tab.
  5. The custom implementation should allow users to search for users, add or remove selected users, and update the watch_list field on the relevant sc_req_item record.
  6. Implement server-side validation and appropriate ACL checks to ensure that only authorized users can update the Watch List. Preserve existing Watch List entries when adding or removing users.
  7. Test the functionality with a non-admin requester, including cases where the Watch List is initially empty and where it already contains users.

Important: Avoid bypassing out-of-the-box business rules or making broad Task table ACL changes just to expose this field. Validate the customization in a sub-production instance before deploying it.

This approach distinguishes between displaying the existing Watch List and providing full add/remove functionality.

https://www.servicenow.com/docs/r/platform-user-interface/service-portal/configure-st-page.html

https://www.servicenow.com/community/service-operations-workspace/adding-watch-list-to-standard-tick...