- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2014 08:33 AM
Hi guys,
We have approvals for our 'Requests' and 'Request Items' on the catalogue.
What is the best way to vew these quickly? So for example, an analyst is in a Task and needs to see very quickly who approved the overall Request and then the Request Item.
Is it best to use Relationships and have a tab on the Task or is there a better way?
If I use the flyouts on the Task to see the Request or Request Item info it doesnt show the tabs on there for the approvers. However, it does show on the actual Request.
Is there an easy way of adding it in here?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 04:04 AM
OKay, maybe we should go back to basics and simply try showing the Request approvers on their own. Give this a shot:
var enc = "document_id=" + parent.request;
current.addEncodedQuery(enc);
If that doesn't work, have a go at this:
var enc = "document_id=" + parent.request_item.request;
current.addEncodedQuery(enc);
If still nothing, can you upload a screenshot of a Request approval record please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 03:44 AM
Hi Ger,
"The field is 'document_id' for both".
No problem, easy fix then. Try this:
var enc = "document_id=" + parent.request_item + "^ORdocument_id=" + parent.request;
current.addEncodedQuery(enc);
Must be my instance then...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 03:55 AM
Im really sorry about this. It still doesnt work.
Still only showing the RITM approvers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 04:04 AM
OKay, maybe we should go back to basics and simply try showing the Request approvers on their own. Give this a shot:
var enc = "document_id=" + parent.request;
current.addEncodedQuery(enc);
If that doesn't work, have a go at this:
var enc = "document_id=" + parent.request_item.request;
current.addEncodedQuery(enc);
If still nothing, can you upload a screenshot of a Request approval record please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 04:23 AM
Brilliant, that pulled in the approvers for the Request.
This one worked:
var enc = "document_id=" + parent.request_item.request;
current.addEncodedQuery(enc);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 04:30 AM
Brilliant! Then by that rationale, the following should give you what you need:
var enc = "document_id=" + parent.request_item + "^ORdocument_id=" + parent.request_item.request;
current.addEncodedQuery(enc);
So close!