I am having issues showing the approval comments on the task details or customer approval details screen in the wrapper. I have added the following line to the task details screen where I want the approval comments to show:
<SPANstyle="HEIGHT: 1%; OVERFLOW: visible"iwtype="Messaging-field-HTMLText"fieldid="APPROVAL_COMMENTS"><SPANstyle="FONT-WEIGHT: bold">Comments:</SPAN> [APPROVAL_COMMENTS]</SPAN>
I also added the following bit of SQL to the "Task Select" query:
(SELECT h.HISTORY_DESC_HTML FROM CR_TASK_HISTORY h [SQLSERVER with (nolock)] WHERE h.REQUEST_NO = CR_REQUEST.REQUEST_NO AND h.APPROVAL_COMMENTS = 1) "APPROVAL_COMMENTS"
Upon testing the modified "Task Select" query outside of VSM directly against the database the comments are properly retrieved. I believe the last part of this customization is to point the "APPROVAL_COMMENTS" field on the screen to the "APPROVAL_COMMENTS" data that is returned from the database. Unfortunately I do not know how to do that. Could someone walk me through how to do this if it is even possible?
This is what I see on the screen when I open it with the current modifications:
Thanks