Lauren Posted January 15, 2019 Share Posted January 15, 2019 Hi We need to be able to report on how many times requests have been updated by a customer via the service portal. Previously, in Supportworks, there was updatedb table which enabled us to report on this. Is there a similar table in Service Manager we can use for this? Thanks Lauren Link to comment Share on other sites More sharing options...
Lauren Posted January 17, 2019 Author Share Posted January 17, 2019 Hi @James Ainsworth @Daniel Dekel @Steven Boardman Sorry to pick on you - I unfortunately need this information urgently, if it is possible. Are you able to confirm whether we can extract this data, and if so what the table/field is? Thanks Lauren Link to comment Share on other sites More sharing options...
Steven Boardman Posted January 18, 2019 Share Posted January 18, 2019 Hi @Lauren All updates on a request are written to the h_buz_activities table. You can join the h_itsm_requests table on the activity stream id and the target id from the h_buz_activities table. What you will then need to do in order to limit the count to only those of the customer, you can filter the results matching the customer id in the request table with the actor_id in the h_buz_activities table. The user id's are in slightly different formats in these two tables so you will need to use CONCAT to match. I have attached a simple report example which does the above and prompt for the request id when running the report, so the results returned are a count of the customer updates on that specific request (when joining tables etc and large data sets we need to be mindful of load / performance etc, hence the request prompt), of course you could but in date ranges etc to limit the results returned. Hope that helps Steve customer-updates.report.txt Link to comment Share on other sites More sharing options...
chriscorcoran Posted January 21, 2019 Share Posted January 21, 2019 @Steven Boardman thanks, do you know which column shows the text of the update? Link to comment Share on other sites More sharing options...
Steven Boardman Posted January 21, 2019 Share Posted January 21, 2019 @chriscorcoran h_content in the h_buz_activities table Link to comment Share on other sites More sharing options...
chriscorcoran Posted January 21, 2019 Share Posted January 21, 2019 @Steven Boardmangot it ta, content Preview, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now