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

How to track specific list usage in Agent Workspace for HR Case Management

CCSF-Syd
Tera Expert

I would like to track individual usage (i.e. views) for specific UX Lists in Agent Workspace for HR Case Management.

 

I have done some JavaScript in the EC Pro to fire custom UA Events on button click:

 

      var payload = {};
        payload.name = 'ESC Mega Menu Clicked';
        payload.category = 'navigation';
        payload.data = {};
        payload.data['Link'] = $(e.target).text().trim();
        payload.data['URL'] = $(e.target).parents('a').attr('href');
        console.log(payload);
        snA.addEvent(payload);

 

So I was thinking maybe I would check if the URL had a particular sys_id (of the List I want to track) and fire an event like that - does that make sense?

 

What I can't seem to find is where to put that kind of script in Agent Workspace and how to hook it up.

 

Any help would be greatly appreciated!

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @CCSF-Syd 

 

Refer these links:

Lists in Agent Workspace for HR Case Management 

Configuring Lists in HR Agent Workspace using UI Builder for Agent Workspace for HR Case Management

 

 

https://www.servicenow.com/community/hrsd-forum/tracking-actual-time-spent-working-cases-in-hr-agent...

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

I'm sorry - I don't see anything in those links that addresses my question - is there something specific you are meaning to point me to?