Approval Form does not show the "Comments" text box in KINGSTON UI16 after upgrade

IanGlencross
Kilo Expert

We are upgrading from ISTANBUL to KINGSTON, and have come across an issue with Change approvals.

Opening a Change Record that is pending approval  :  the next step in our workflow is for an approver to approve the change  

This can be done by either

  1.    clicking on the UI Action  “Approve or Reject “  or
  2.    opening the Approval task in the Approvers tab of the change
  3.    choosing from My approvals

 

When you do this in Istanbul, either in UI15 or UI16 you get the default Approval Form, whcih contain a text box for entering comments

 

 In KINGSTON when in UI15 the result is the same ...

... but when in UI16 the following form is rendered

Which is missing the comments box– and as comments are mandatory for REJECTthis is an issue.

 

Notes

  • Even in UI16 opening the form in  FORM DEISGNER (see below) shows the comment field as included in the form, however it is not rendered
  • Tested in both Chrome v65 and IE11 and same issue exists.
  • Issue is NOT restricted to Change – also occurs in Approval task for Knowledge

 

 

 

 

Does anyone have any idea where to start looking at this issue?

 

 

 

6 REPLIES 6

SOLUTION UPDATE :

This solution introduces a "POST" button as part of the UI16 "Live" Comments field. 

find_real_file.png

This cannot be easily disabled, so to hide it I used a simple client script :

find_real_file.png

 

The key part of this "onLoad script is the jquery 

$j(".sn-controls").hide()

Which hides the container than holds the post button - in this form this is the only thing in this container, and this is the only container with this class, so there are no unintended consequences.

mrglenx
Kilo Explorer

Further Update to the solution :

 

This solution solves the "missing" comments - but it introduces a new issue :  The Comments filed shown is the "live" version and has a POST button built into the angular. 

find_real_file.png

As this "POST" can muck up the "Update" & "Save" options available as UI Actions you may need to hide this.  I have done this with a simple Client Script :

find_real_file.png

The nuts and bolts of this client script 

  • Table : sysapproval_approver
  • UI Type : All
  • Type : onLoad
  • Script :
function onLoad() {

//use jquery to locate "sn-control" class - which contains the POST button and hide it
// note that for this form on this table this class only applies to this one container

$j(".sn-control").hide();

}

 

 

 

NOTE : THIS CLIENT SCRIPT MAY HAVE ADVERSE UNINTENTIONAL RESULTS ON FORMS YOU USE - PLEASE TEST EXTENSIVELY BEFORE USING THIS SOLUTION