Button condition support enablement

task brazil Updated Nov 2, 2026 1 min read button-config-mobile-script.md
Raw file servicenow.com

Use mobile scripts to update data across multiple tables and to control button visibility and behavior, whether users are online or offline.

Before you begin

Role required: mobile_admin

About this task

Mobile scripts can serve as the functional component behind a button condition, so button visibility and behavior can be driven by script logic when both offline and online. By default, the mobile offline capabilities for button conditions aren't enabled for existing records. You must explicitly opt in to the new Mobile Scripts framework capabilities.

Note: Enabling mobile scripting capabilities for offline button functions takes place in the ServiceNow AI Platform. All other button function configuration occurs in MAB. For more information, see Configure offline mode properties for action functions.

Procedure

  1. Navigate to All > sys_sg_button.list.

    The Functions list displays.

  2. Either select New to create a button record or select an existing record.

  3. In the record select the Offline Propertiestab.

  4. Select the Offline option.

  5. Select the option Enable advanced mobile scripting capabilities.

  6. Select all other options relevant for your configuration.

  7. Select Submit.

Parent Topic:Components that support mobile scripts

Search documentation
Search document titles and file paths on the brazil branch