Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Hide unchecked checkbox variables in the Options list in an Approval widget - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Hide unchecked checkbox variables in the Options list in an Approval widget
KB0685693

Hide unchecked checkbox variables in the Options list in an Approval widget


6777 Views Last updated : Jun 18, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Approvers can hide the unchecked options on an approval request. This article explains how that works and how to hide these options.

Release

All releases.

Resolution

As an approver, to view requested approvals: 

  1. On the Service Portal home page, in the menu, select Approvals.
  2. Select any existing approval.
  3. Under Approval request for Request REQXXXX, select the Options arrow to open it.

Under Options, some variables display with the default value of false. These are the checkbox variables that were not selected or checked at the time of submission of items.

The items marked as false can be hidden from the Options list. 

Approval Options

To hide these variables in the Options list: 

  1. Go to Service Portal > Widgets. The widget name is Approval Record.
  2. Select Clone Widget to create a copy of it.
  3. On the cloned widget, modify the Body HTML Template section as follows:

Find the line that says:

<div ng-repeat="variable in data.variables | filter:{visible_summary:true}" ng-if="variable_toggle">

Replace the next two lines with following:

From

<label>{{::variable.label}}</label>
<div>{{::variable.display_value}}</div>

To

<label ng-if="variable.display_value != 'false'">{{::variable.label}}</label> 
<div ng-if="variable.display_value != 'false'">{{::variable.display_value}}</div>  

Related Links

This knowledge article is based on a community article, Service Portal Approval Record widget

 


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.