Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Mobile configuration and navigation
Table of Contents
Choose your release version
    Home Orlando Mobile Configuration and Navigation Mobile configuration and navigation ServiceNow mobile app configuration Functions in ServiceNow mobile

    Functions in ServiceNow mobile

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Functions in ServiceNow mobile

    Configure functions in Studio to determine which actions users can perform in the mobile app.

    Function types

    There are three different types of functions you can use to configure actions in the mobile app.

    Watch this video on function types
    Actions
    Functions that change data, such as assigning a task to yourself or adding a comment to a record. Action functions require a write-back action item to operate.
    Navigations
    Functions that move you to a new screen, such as, opening a record from a list. For example, navigate from an employee user profile screen to a manager user profile screen.
    Smart buttons
    Functions that enable your users to perform another action, such as sending an email, making a phone call, pulling up a location, or navigating directly to a URL.
    Footer functions
    Functions that enable your end users to take an action on a form screen with a details segment.

    Function behavior

    Top menu functions

    Top menu for an incident which includes the following functions: Reassign, Resolve, Add comments, and Edit

    Use a top menu function by the button located in the upper right corner of the app screen. The top menu button is only visible when there are available functions configured to use the top menu.

    You can configure multiple functions for use in the top menu. These functions appear as a list when you tap the button.

    Swipe functions

    Use a swipe function by tapping an item in a list and swiping to the left or right. This swipe action reveals the swipe functions, which you can tap to use.

    You can specify which direction to swipe when you configure your function. This ability allows you to have a different set of functions available, depending on which direction a use swipes.

    Swipe function from the list view with options to Resolve or Reassign an incident

    Field functions

    Incident with the caller field highlighted

    Use a field function on items in the body the details screen. Tap to activate the function. Only a single field function can be assigned to a field in a details screen.

    Use field function behavior with a navigation function to direct a user to a related record, or use a smart button function to send a text or email to a contact.

    Footer functions

    Enable your end users to take an action on a form screen with a details segment. Choose a color theme based on the function's behavior. Add up to three footer functions to a single details segment.

    Screen with three footer functions.

    Function conditions

    Use the condition section of a function record to determine when that function is available. A condition can be declarative or scripted. Declarative conditions use a condition builder to create a condition. Scripted conditions use a script, which must evaluate to true to make the function available.

    Table 1. Condition fields
    Field Description
    Condition Type
    • Declarative: Function is availability is based on a condition created with the condition builder.
    • Script:Function is availability is based on a script.
    Table
    • If you choose Declarative in the Condition Type field, this field appears as a condition builder. For more information on using the condition builder, see condition builder
    • If you choose Scripted in the Condition Type field, this field appears as a text area. Enter a script in this field. The function is available when this script evaluates to true.
    Condition This field appears as a condition builder.
    Roles Select roles that are required to use this function.

    Example

    This example is taken from the Accept function for Work Order Task records.

    current.state == 16 && current.assigned_to == gs.getUserID()

    The function is available for records in the Assigned(16) state, and the record is assigned to the current user. If the function has a value in the Roles field, then the role requirements are applied in addition to this scripted condition.

    • Configure a navigation function

      Navigation functions enable you to define simple ways for end users to navigate within the mobile platform, for example, navigating to a record from a field on another record.

    • Smart buttons

      Use smart buttons to interact with native applications on your mobile device, such as your phone, map, or email applications.

    • Configure an action function

      Actions functions allow the user to change something in the database. For example, making an update or adding a comment to a record requires an action function.

    • Configure an action item

      For an action function to work, you must create an action item to associate with the action function. Action items define what the action function is and how it works.

    • Associate a function with a location in the app

      For each function you create for an app, you must associate it with a specific location. You can associate most functions with a top menu, a swipe, or a specific field.

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Functions in ServiceNow mobile

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Functions in ServiceNow mobile

      Configure functions in Studio to determine which actions users can perform in the mobile app.

      Function types

      There are three different types of functions you can use to configure actions in the mobile app.

      Watch this video on function types
      Actions
      Functions that change data, such as assigning a task to yourself or adding a comment to a record. Action functions require a write-back action item to operate.
      Navigations
      Functions that move you to a new screen, such as, opening a record from a list. For example, navigate from an employee user profile screen to a manager user profile screen.
      Smart buttons
      Functions that enable your users to perform another action, such as sending an email, making a phone call, pulling up a location, or navigating directly to a URL.
      Footer functions
      Functions that enable your end users to take an action on a form screen with a details segment.

      Function behavior

      Top menu functions

      Top menu for an incident which includes the following functions: Reassign, Resolve, Add comments, and Edit

      Use a top menu function by the button located in the upper right corner of the app screen. The top menu button is only visible when there are available functions configured to use the top menu.

      You can configure multiple functions for use in the top menu. These functions appear as a list when you tap the button.

      Swipe functions

      Use a swipe function by tapping an item in a list and swiping to the left or right. This swipe action reveals the swipe functions, which you can tap to use.

      You can specify which direction to swipe when you configure your function. This ability allows you to have a different set of functions available, depending on which direction a use swipes.

      Swipe function from the list view with options to Resolve or Reassign an incident

      Field functions

      Incident with the caller field highlighted

      Use a field function on items in the body the details screen. Tap to activate the function. Only a single field function can be assigned to a field in a details screen.

      Use field function behavior with a navigation function to direct a user to a related record, or use a smart button function to send a text or email to a contact.

      Footer functions

      Enable your end users to take an action on a form screen with a details segment. Choose a color theme based on the function's behavior. Add up to three footer functions to a single details segment.

      Screen with three footer functions.

      Function conditions

      Use the condition section of a function record to determine when that function is available. A condition can be declarative or scripted. Declarative conditions use a condition builder to create a condition. Scripted conditions use a script, which must evaluate to true to make the function available.

      Table 1. Condition fields
      Field Description
      Condition Type
      • Declarative: Function is availability is based on a condition created with the condition builder.
      • Script:Function is availability is based on a script.
      Table
      • If you choose Declarative in the Condition Type field, this field appears as a condition builder. For more information on using the condition builder, see condition builder
      • If you choose Scripted in the Condition Type field, this field appears as a text area. Enter a script in this field. The function is available when this script evaluates to true.
      Condition This field appears as a condition builder.
      Roles Select roles that are required to use this function.

      Example

      This example is taken from the Accept function for Work Order Task records.

      current.state == 16 && current.assigned_to == gs.getUserID()

      The function is available for records in the Assigned(16) state, and the record is assigned to the current user. If the function has a value in the Roles field, then the role requirements are applied in addition to this scripted condition.

      • Configure a navigation function

        Navigation functions enable you to define simple ways for end users to navigate within the mobile platform, for example, navigating to a record from a field on another record.

      • Smart buttons

        Use smart buttons to interact with native applications on your mobile device, such as your phone, map, or email applications.

      • Configure an action function

        Actions functions allow the user to change something in the database. For example, making an update or adding a comment to a record requires an action function.

      • Configure an action item

        For an action function to work, you must create an action item to associate with the action function. Action items define what the action function is and how it works.

      • Associate a function with a location in the app

        For each function you create for an app, you must associate it with a specific location. You can associate most functions with a top menu, a swipe, or a specific field.

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login