Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Functions in ServiceNow mobile

Log in to subscribe to topics and get notified when content changes.

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.

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.

Function behavior

Top menu functions

Top menu for an incident which includes the following functions: Reassign, Resolve, Add comments, 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 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.

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.

Feedback