Show change request approvals in list view

arobertson
Tera Guru

Hi All,

I have just added in the ability to right click on a change request number in a list view and approve it.

What i would like to do next is see if i can expand the change request from the list view to see the approvers and their comments?

Any ideas if this is possible?

5 REPLIES 5

Michael Fry1
Kilo Patron

There is a field - Approval History - that contains the approval information. It SHOULD also contain any approval comments, but the business rule (Approval Events (Task)) isn't getting to the last section of code where it captures the comments. I copied that sections and moved it under: function updateTask(me, journal, comments) - that seemed to work in the cases where I was testing.



Screen Shot 2016-11-18 at 3.27.51 PM.png


Thanks Michael,



Maybe i didn't explain myself correctly, i'm trying to achieve something like this. But in my case i would expand the change request and see the approvers/comments




Using



You should be able to do the same for Change. If you want Approvers and comments to show first, make it the first Related List.


Thanks Michael,



Just managed to get it to work as you posted. The only issue now, is that no itil users can see the change request list. They now get a permissions issue.



I'm wondering if its doing a ACL check on the sys_approvers table as i'm now showing it in the list view. I'll have to debug.