Trigger a Survey based on portal usage

Julia Howells
Giga Guru

We'd like to trigger a survey based on whether or not the logged in user is on the portal for a specified amount of time. 

 

For example, if the user has been logged in for five minutes on the /sp URL, we want to trigger a survey to send to them. 

 

I'd like to know if anyone else has succesfully implemented something similar, as I have an idea of how to accomplish this but not sure if it's the best method.

My thoughts are:

1. Create a custom table that is populated with the User (reference field?) of the logged in user, and then maybe a time stamp of when they logged into the portal 

2. Create a scheduled job to run periodically to trigger the surveys off that data 

 

1 REPLY 1

Swapna Abburi
Mega Sage
Mega Sage

@Julia Howells 

I think you don't need a custom table to track the usage of Portal. There is an OOTB table "ua_sp_usage" which has user details, start and end times.

https://<instanceName>.service-now.com/ua_sp_usage_list.do