Configure the action item on your button so that you can use the values that your
users scan in.
Before you begin
Role required: admin
Procedure
-
From your grouped input record, click the reference icon (
) next to the Button field, and then click
Open record to open your function record.
-
From your function record, click the reference icon (
) next to the Action item field, and then click
Open record to open your action item record.
-
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.

What to do next
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.