- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 09:12 AM
Has anyone successfully figured out how to report on how many requests were submitted via the portal other than querying if requester and opened by are the same? Obviously, on INC, we can report on contact type but not finding anything for RITMs.
TIA
Solved! Go to Solution.
- Labels:
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 01:52 PM
The following is something I hacked (in a pejorative way) to determine if a record was submitted through the portal. We're using undocumented features so buyer beware...
Before insert business rule on the task table:
(function executeRule(current, previous /*null when async*/) {
var glideURI = gs.action.getGlideURI().toString();
if (glideURI.indexOf("angular") >-1){
current.contact_type='self-service';
}
})(current, previous);
This works because we noticed that whenever a user creates a record from the Service Portal the URI says 'angular.do' instead of 'incident.do' or 'service_catalog.do'. There's still other ways to manipulate the contact_type variable and this will probably be tweaked one or two times before we're happy with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 09:25 AM
We use contact type on RITMs as well. You can set the contact type in the RITM script of the workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 09:29 AM
Sounds interesting... How would we determine if it was submitted via the portal?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 09:26 AM
Are you trying to find out how many of them were submitted using sp vs ess?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 09:28 AM
Yes we are