Resolve common issues in mobile migration script results

  • Release version: Zurich
  • Updated July 31, 2025
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Resolve common issues in mobile migration script results

    This guide helps ServiceNow customers troubleshoot and resolve frequent problems encountered after running the mobile migration script, especially during upgrades to versions New York and later. It explains how to interpret error messages, handle collisions, and fix common issues affecting mobile applets and related components.

    Show full answer Show less

    Log Error Messages

    • Invalid instance scope provided: Indicates migration script abortion. Customers should ensure the com.glide.mobile-employee plugin is activated and rerun the migration script via Studio.
    • Cannot perform migration task on customized record: Occurs when a customized record blocks migration. The script skips that file, which becomes inaccessible in Studio.

    Handling Collisions

    Collisions happen when customized base system applications conflict with upgrade changes. After migration, review collisions via the View Collisions button to see skipped upgrade records. Resolve conflicts by comparing customized and base versions, using arrow controls to merge or revert changes.

    A common collision involves master detail records, which were replaced by list and form screen records from New York onward. Customized master detail records are not automatically deleted. Confirm applet availability in Mobile Studio before manually deleting obsolete master detail records.

    Common Migration Issues and Resolutions

    • Missing applet after migration: Manually re-add the applet in Mobile Studio by associating it with the correct UI section within the app's Application Menu and Applet Launchers.
    • Missing related list in an applet: This often results from outdated references in the related lists mapping table. Re-associate the Destination Screen for the affected related list within Studio under the Form Screen’s Related Lists.
    • Users not prompted for input parameters in Field Service Management or ITSM applets: Check the UI Parameter records for empty Screen fields pointing to deprecated master detail screens. Update these to reference the correct applet screen.
    • Incorrect results for customized Field Service Management or ITSM applets: If custom parameters were added to base system items, verify and update the Screen field in the Screen Parameters mappings to point to the valid applet screen instead of unused master detail screens.

    Practical Impact for ServiceNow Customers

    By following these instructions, customers can successfully complete mobile migrations, maintain applet functionality, and ensure a smooth transition during platform upgrades. The guidance enables efficient conflict resolution, preserves customizations where appropriate, and restores expected app behavior post-migration.

    Find solutions to common issues after running the mobile migration script.

    Log error messages

    The mobile migration script adds entries to the Log [syslog] table when it encounters an error. You can review these logs by navigating to System Logs > System Log > All. Listed here are errors the mobile migration script may add to the logs.

    Table 1. Error Messages
    Error Message Resolution
    Invalid instance scope provided If you see this message, the migration script was aborted. Run the migration script again to complete the migration. You can do rerun the migration script by reopening Studio and selecting the scope.
    Please activate com.glide.mobile-employee first before migration. The ServiceNow NowMobile App Screens and Applet Launcher [com.glide.mobile-employee] plugin must be active to run the migration script. Ensure that this plugin is active. If you see this message, the migration script was aborted. Run the migration script again to complete the migration.
    Cannot perform migration task on customized record. The record causing this error appears immediately after this message. A customization on this record prevented the migration script from changing this file. The migration script skips this file, and continues to run. The named file is inaccessible in Studio.

    Collisions

    Collisions can occur in base system applications that you have customized before the upgrade to New York or later versions. If the migration script detects any collisions, it prompts you to review them after the script execution completes.

    Mobile migration collision prompt.

    Click the View Collisions button to view a filtered list of upgrade details [sys_upgrade_history_log] records. This list shows the records within the current scope that the upgrade process has skipped. To resolve a conflict, click a record on this list to open the record, then click the Resolve Conflicts button.

    The Resolve Conflicts form shows the base system version of the record alongside the customized version Fields that are different between versions are highlighted with a darker background.

    Resolve conflicts form.
    Use the arrow buttons (Arrow button) to move values from one version to the other. After making your changes, click the Save Merge button to save your changes. You can also click the Revert to Base System button to discard your customizations and use the unmodified version of the record.

    A common collision issue is master detail [sys_sg_master_detail_screen] records. Master details records are no longer a part of the mobile schema as of the New York release. These records are replaced with new list [sys_sg_list_screen] and form [sys_sg_form_screen] screen records. They are normally deleted as part of the upgrade process, but if they have been customized, the script does not automatically delete them. If you have, for example, renamed a base system application, this kind of collision can occur.

    To resolve the issue, check Mobile Studio to make sure that your applet is still available and working as expected. Once you have confirmed that the applet is available, you can delete the main detail record.

    Common migration issues

    An applet is missing
    After migration, your applets should be visible in the Applications tab in the navigation bar. If the applets do not appear, you can manually migrate these applets.
    1. In Studio, open Mobile Studio > Application Menu in the application explorer, and select the app where you are missing an applet.
    2. In the Navigation Tabs related list, click the Applications navigation tab.
    3. Note the Applet Launcher associated with the Applications tab.
    4. In Studio, open Mobile Studio > Applet Launchers, and open the applet launcher noted in the last step.
    5. In the applet launcher form, select a UI section with the same name as the folder the missing applet was located in before the migration.
    6. Find the missing applet in the All Applets list, and move it to the Selected Applets list.
    7. Click Save.
    A related list is missing from an applet
    This issue may be the result of an outdated reference on the related lists mapping [sys_sg_related_list_map] table. You can re-associate the Destination Screen for your related list to resolve the issue.
    1. In Studio, navigate to Mobile Studio > Applets, and select the applet with the missing segment.
    2. Click the Form Screen tab.
    3. Click Body.
    4. Click the Related Lists button.
    5. Check the list for items that have an empty Destination Screen value.
    6. Click the list item, and select a value in the Destination Screen field.
    Users are not prompted to enter input parameters in Field Service Management or ITSM applets
    Normally parametrized applets prompt your users for a value. If you are no longer seeing this prompt after a migration, use these steps to correct the issue.
    1. Open the UI Parameter [sys_sg_ui_parameter] list by entering sys_sg_ui_parameter.list in the filter navigator for your instance.
    2. Find the parameter which is not generating a prompt for your users.
    3. Check the value of the Screen field. If this field appears empty, it may be pointing to a Master-detail screen [sys_sg_master_detail_screen] record.
    4. Update the field by selecting the applet [sys_sg_screen] record used by this parameter.
    Incorrect results for a customized Field Service Management or ITSM applet.
    This issue can occur if you have added a customer parameter to a base system.
    1. Open the Screen Parameters mappings [sys_sg_screen_param_map] list by entering sys_sg_screen_param_map.list in the filter navigator for your instance.
    2. Find the record with the Item Parameter field matching the item parameter you have added to your data item.
    3. Check the value of the Screen field. If this field appears empty, it may be pointing to an unused Master-detail screen [sys_sg_master_detail_screen] record.
    4. Update the field by selecting the applet [sys_sg_screen] record used by this parameter.