How the Approval Server handles rejections and justifications


On Approval Central or the AP:Show-Detail form, approvers can provide a justification for rejecting a request by entering some meaningful text in the Justification For Action field and clicking Reject.

The justification is stored as a note in the Approval Activity Log, and is sent to:

  • AP:Question-Comment-Info as a comment on the Justification type
  • AP:Signature, from where the application can access it
  • A field on the application form, if and as defined in the process

This feature is associated only with the Reject action. If an approver enters a justification and clicks any other action button, the request status changes as appropriate, but the text is not stored at any location.

If justification is required, but the approver does not enter any text in the Justification For Action field on Approval Central before clicking Reject, the AP:Rejection Justification dialog box appears.

The following events could occur:

  • If the approver clicks Cancel, the following message is displayed:
    Cancelling the action, because the justification required by the current process was not provided. ARWARN 46408)
    The Reject action is canceled, the request remains in the Pending state, and no log entry is created.
  • If the approver clicks OK without entering some text in the Justification field, the following message is displayed:
    Please enter appropriate rejection justification. (ARNOTE 46409)
  • If the approver provides some text and clicks OK, the request is rejected. The text is saved in AP:Question-Comment-Info as a comment of the Justification type.
    The justification also appears in the Activity Log.

Best practice
For auto rejection of an approval, we recommend defining a workflow that populates the justification for rejection.

If the process mandates a rejection justification, and the approver sets Approval Status to Rejected and saves the request without providing a justification, the Reject action fails.

The following error is written to the approval log:

The processName process requires a rejection justification, which the approver failed to provide. 

To require users to enter a justification

  1. Open the AP:Process Definition form.
  2. Click the Configuration tab.
  3. In the Rejection Justification area, specify the following information and then click Save:
    • Whether an approver must provide a justification when rejecting a request.
    • The field on the application form in which the justification is stored.

22_1_approval_form_reject_justification.png

To enable approvers to provide rejections justification on a three-way form

  • Add a Character field of unrestricted length (to accept more than 255 characters) on the three-way join form for an approver to enter the comment.
  • Provide the workflow to push the comment onto the AP:Signature form after the approver clicks Reject.

For more information, see Creating-the-join-forms-to-connect-your-application-to-the-approval-server and Approval-forms. For general information about join forms, see Join-forms.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*