- 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-09-2014 08:36 AM
Hi,
The best way is to setup Relationship on Task table which will display all the approvals related the Request as well as to Request Item.
Please mark answer as correct/helpful, if it was really helpful
Regards,
Solutioner
Enhance Knowledge NOW@ www.solutioningnow.com
http://www.solutioningnow.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2014 09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 01:22 AM
Hi Adam,
This works great. Is there a way to show the approver for the main Request too? (not just the Request Item).
The reason for this is we have approval set up on the Request itself and we wouold need to see the approver on the associated Tasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2014 02:13 AM
Hi Ger,
I tried to set it up to show the approvers for both the request and request item, but seem to be struggling with the OR condition. Remove the script in the relationship and replace it with this:
var enc = "document_id=" + parent.request_item + "^ORsysapproval=" + parent.request;
current.addEncodedQuery(enc);
I've tested this and it does work, let me know what you think.