---
sourceDocument: Australia Mobile Configuration and Navigation
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/mobile

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Mobile Configuration and Navigation

ft:clusterId :

    - mobile

bundleId :

    - mobile

workflow :

    - Development, Data and Analytics


---

# Configure input form screens with grouped scan barcode inputs

# Configure input form screens with grouped scan barcode inputs {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Configure input form screens that support grouped scans. Grouped scans enable you
to scan multiple barcodes that are associated with assets that must be scanned in a
set.

## Before you begin

You must create an input form screen before you create inputs. For information about
creating an input form screen, see [Configure an input form screen](https://servicenow-prod.fluidtopics.net/PVSI3Faa8_DKNk1SxKRsJQ "Configure an input parameter so that your users can see a list of records from their mobile app. To access a record from the list, a user just has to tap the record name.").

Role required: admin

## About this task

Grouped scan barcode inputs are supported for scripted writeback actions that are
used in action items only. For information about action items, see [Configure an action item](https://servicenow-prod.fluidtopics.net/yoKrBS4snk1zej1cWalP~A "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.").

Grouped scan barcode inputs are available [offline](https://servicenow-prod.fluidtopics.net/0aYMnDp0VjYheVygRWNJuw "Configure offline mode to enable your users who have no internet connection to continue working from a mobile device.") and [Mobile UI rules](https://servicenow-prod.fluidtopics.net/w0HeqUgAog6EWlo9Jw6wRA "Use Mobile UI rules to build rules that modify the mobile UI. These modifications can include hiding and displaying fields, making fields mandatory, performing field value calculations, and applying UI styles to different UI elements.") apply to them.

## Procedure

1. Navigate to All and enter <kbd class="ph userinput">sys_sg_parameter_screen_list.do</kbd> in the filter.
2. Select the input form screen to which you want to add the barcode inputs.
3. On the Settings tab, select the Advanced check box.
4. Right-click the banner at the top of the page and select Save..
5. Enter <kbd class="ph userinput">sys_sg_parameter_section_m2m.do</kbd> in the filter and create a section mapping.
6. Enter <kbd class="ph userinput">sys_sg_parameter_section.do</kbd> in the filter and create an input form section:
   1. Select the Inputs tab and add inputs with Input Type of Barcode only.
   2. Select the Attributes tab and add the following section attributes:  
      1. Enter <kbd class="ph userinput">SectionType</kbd> in the Name field and enter <kbd class="ph userinput">barcode</kbd>for the Value.

         Important:  
         The SectionType attribute is required.
      2. Enter <kbd class="ph userinput">MaxEntries</kbd> in the Name field and enter the number of times the user can scan for the Value.

         The MaxEntries attribute is optional.
      3. Right-click the banner at the top of the page and select Save.
      {#config-grouped-scan-barcode-inputs__ul_ufs_plc_tvb}
   {#config-grouped-scan-barcode-inputs__substeps_djz_1lc_tvb}
7. Navigate to the configured action item by navigating to System MobileAction Items.
8. Select the action item that you want to use for the grouped barcode scan inputs.
9. Add the grouped barcode scan script in the Execution Script field.  
   For example, to define a barcode section named "barcodes" for grouped scan inputs, you could define two barcode inputs:
   * asset_number
   * model_number

   {#config-grouped-scan-barcode-inputs__ul_y2z_1nc_tvb}

   Then you could add the following script in the Execution Script field:

       (function WriteBackAction (parm_input, parm_variable, ActionResult) {
           for (i=0; i< parm_input["barcodes.asset_number"].length;i++) {
               var assetNumber= parm_input["barcodes.asset_number"][i];
               var modelNumber=parm_input["barcodes.model_number"] [i];
               var SMAssetUsage=new global.SMAssetUsage();
               SMAssetUsage.addAssetToStockroom(assetNumber, modelNumber);
       }
       }) (parm_input, parm_variable, actionResult);

10. Select Update to save the configuration.

*[\>]: and then


