Configure your action item to use your grouped input UI parameters

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:2分
  • Configure the action item on your button so that you can use the values that your users scan in.

    始める前に

    Role required: admin

    手順

    1. From your grouped input record, click the reference icon (Reference icon) next to the Button field, and then click Open record to open your function record.
    2. From your function record, click the reference icon (Reference icon) next to the Action item field, and then click Open record to open your action item record.
    3. Modify the Execution Script field to use your grouped input UI parameters.

      These parameters are contained within the input object. You can access the parameters by using this format: input.grouped_input_name[input index]["UI Parameter Name"]. For example, if you have a grouped input called add_asset that has a UI parameter named Serial number, you would use input.add_asset[0]["Serial number"] to access the first serial number asset.

      In this example, the script checks the length of input.add_asset to see how many items were scanned. It then adds an asset for each scanned item using the scanned-in serial number and asset tag.

      Grouped input used in an execution script example.

      注:
      • The action item type must be set to Script to display this Execution Script field.
      • In the above script example, the addAssetToStockroom() function is a custom function that has been created by the user. For more information, see Configure an action function.

    次のタスク

    Your button is configured for multi-scan, and your users can begin creating records. For information on using the mobile scanning interface, see Multi-scan for mobile applications.