Resolve common issues in mobile migration script results
Summarize
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 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 . Listed here are errors the mobile migration script may add to the logs.
| 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.
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.
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.
- In Studio, open in the application explorer, and select the app where you are missing an applet.
- In the Navigation Tabs related list, click the Applications navigation tab.
- Note the Applet Launcher associated with the Applications tab.
- In Studio, open , and open the applet launcher noted in the last step.
- 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.
- Find the missing applet in the All Applets list, and move it to the Selected Applets list.
- 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.
- In Studio, navigate to , and select the applet with the missing segment.
- Click the Form Screen tab.
- Click Body.
- Click the Related Lists button.
- Check the list for items that have an empty Destination Screen value.
- 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.
- Open the UI Parameter [sys_sg_ui_parameter] list by entering sys_sg_ui_parameter.list in the filter navigator for your instance.
- Find the parameter which is not generating a prompt for your users.
- 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.
- 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.
- 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.
- Find the record with the Item Parameter field matching the item parameter you have added to your data item.
- 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.
- Update the field by selecting the applet [sys_sg_screen] record used by this parameter.