Viewing 'approvers' on the Task

germc
Giga Expert

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?

task.PNGtask2.PNG

1 ACCEPTED SOLUTION

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?


View solution in original post

19 REPLIES 19

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...


Im really sorry about this. It still doesnt work.


Still only showing the RITM approvers.


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?


Brilliant, that pulled in the approvers for the Request.


This one worked:


var enc = "document_id=" + parent.request_item.request;


current.addEncodedQuery(enc);


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!