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 Adam,


As a workaround I have created 2 tabs. One for the Request Approvers and the other for the Request Item Approvers.


This should work fine for what we want to do.


I created the REQ relationship with the following:


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


current.addEncodedQuery(enc);



I then created the RITM relationship with the following:


current.addQuery("document_id", parent.request_item);



approvers.PNG


Hi Ger,



That would do the job. I can't work out what was going on there, but glad you've managed to get some approximation of what I suggested!



Cheers,



Adam


Thanks again Adam,


Ive marked answer as correct.


Thanks again


Its just showing the Request approvals now, but not the Request Items. Very strange!


darshanr
Kilo Guru

Hi Ger,


I think setting up Relationship is the ideal option in this   scenario.


OR


You can write script to add the Request Status as who approved which type of Approval and things you want in comments field



For Eg:


CI Owner Approval Approved by XYZ for REQ1234


Business Owner pending with ABC for RITM1234



Thanks,


Darshan