The action.setRedirectURL method is not working in Mobile UI actions. In particular, if in service.pageRedirect.js in getURLForPage does not compute to a ServiceNow URL, it sends you to home.

Steps to Reproduce

  1. Log in to a base system Dublin instance.
  2. Navigate to System Mobile UI > UI Actions > Mobile.
  3. Open global Save UI Action.
  4. Modify the script to add the line action.setRedirectURL('./navpage.do'); after the line current.update();.
  5. Access the instance again using the Mobile UI ($m.do).
  6. Navigate to Approvals.
  7. If you are logged in as maint, filter for All Approvals.
  8. On one of the records, click Save.
    The browser remains on the saved approval form when it should load the page given in the setRedirectURL argument.


This issue has been resolved as of Eureka Patch 10 and Fuji Patch 3. Upgrading an affected instance to one of these version or a later version corrects the issue.

Note that for external URLs, such as http://www.servicenow.com, end users need to disable Safari's popup blocker setting. This can be done on the iphone by navigating to Settings > Safari > Disable Popup Blocker.

Related Problem: PRB623516

Seen In

Eureka Patch 12
Eureka Patch 5
Eureka Patch 9

Fixed In


Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-03-22 11:07:00