kim_purcell
Kilo Explorer

If your requests are leaving you rejected without a reason, this is probably because the UI Policy Comment mandatory is not working properly in Eureka. This policy requires the approver to provide a reason for rejecting a request. When the state is changed to Rejected, a warning sign should immediately pop up alerting the user to fill out the Comments field:

Comments_mand_3.JPG

If the UI is able to bypass this and still reject your request, this may be because the Comments mandatory UI Policy script is not up to date.

To update the Comments mandatory UI Policy script:

  1. In the navigation filter, enter UI Policy.
  2. Open Comments mandatory, and click the Scripts tab.
  3. Replace these lines in the script:

In Execute if true, replace the line:

$("status.sysapproval_approver.comments").addClassName("mandatory");

Change to:

g_form.setMandatory('comments',true);

In Execute if false, replace the line:

$("status.sysapproval_approver.comments").removeClassName("mandatory");

Change to:

g_form.setMandatory('comments',false);

Comments_mand_image_2.JPG

You should now be able to view exactly why you have not been approved for your request.

For more information, see:

Approvals: Comments are not set to mandatory on rejection

Creating a UI Policy