---
title: Review, Discover, and Add Output Parameters
slug: user-guide-10x/review-discover-and-add-output-parameters
docTags: 
createdAt: 2025-06-18T11:01:36.089Z
---

﻿If your task relies on a plugin or asset, you can review the parameters, names, and descriptions that go along with that plugin or asset on the Output Parameters tab.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/-04ykpyPIo2L9ZdypWCxy_read-only-output-params.png" size="38" width="1207" height="584" position="center" showCaption="false"}

## Discover and Add Parameters for Scripted Tasks

The Output Parameters tab is also where you review and add parameters for scripted tasks.

:::hint{type="danger"}
Your script must define outputs in order for them to be discovered.
:::

To discover and add parameters for scripted tasks:

1. Create or open a task that is dependent upon a script, then navigate to the Output Parameters tab. On the Output Parameters tab, click **Discover Parameters.**


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/0vVxG8zd7nN8L0TeGzwqu_no-output-parameters.png" size="40" width="1309" height="294" position="center" showCaption="false"}
2. Next, you will run the task and discover its parameters. Click and hold the **Run Task for Parameter Discovery** button.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/7ZCAUU2GLWFkBsRfVlubl_discover-parameters.gif" size="54" width="1078" height="492" position="center" showCaption="false"}
3. The task runs, which allows Swimlane to discover and index the available parameters for the task.
4. **Important!** The task actually executes, so make sure you're running the task in a safe environment!
5. You now have a list of defined parameters. Review the list and add new parameters as needed.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/CuZLAWcxKcrJT8cpmhYDx_defined-output-parameters.png" size="52" width="1224" height="570" position="center" showCaption="false"}
6. You can select multiple leaves of the tree and click add parameters, which will generate JSONata for each one. Next, you'll map the output parameters for the task.
7. Click the Outputs tab. The parameters you've just discovered and added are now available to be created and mapped to in your task.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/HckJvXrD_MdbAG_TYQyJd_paras-available-to-map.png" size="50" width="1380" height="973" position="center" showCaption="false"}
8. You can edit the JSON after mapping them, but only the parameter can be changed at this point.
9. You can also manually enter the JSON when adding output mapping.
10. **Note:** The parameters are automatically assigned as specific field types in your application. When you access the **App Field/Field Type** drop-down menu, you will only see the field types available for that parameter. This ensures that your mapping doesn't fail due to mapping to the wrong field types in the integration.

## Map Actions

Swimlane helps you map your parameters. Some parameters such as Output Parameters and Run Status Parameters are available for automapping. However, Standard Output, Input Parameter, and System Output Parameters are never part of automapping and will need to be mapped manually.

When you review parameters, those that are not available to be automapped are noted with an info button that, when you hover over it, point out the parameter's type and specify that it is not available for automapping.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/D32-TrtmfRexleI_8Uz42_parameter-hovertext.png" size="50" width="1623" height="894" position="center" showCaption="false"}

When you are viewing the parameters in your task, or if you're viewing unmapped parameters, you have access to the Mapping Actions menu. Click this menu to instantly remove all existing mappings, to map unmapped parameters to available existing fields, or to map unmapped parameters to new fields.

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/5LTUiiJHYWX8c65LvyMM4_mapping-actions.png" size="36" width="342" height="126" position="center" showCaption="false"}

The parameters all have relative data types that are associated with specific field types. When mapping parameters, the relevant, associated field types are all that are listed for you to choose from. For more detail on output mapping and field types, see [Appendix: Output Mapping Types](docId\:eMDViePp0ZbqCc6XMAn_8).

## Find Tasks That Output to a Specific Field

When troubleshooting an error, it may be helpful to find a list of all tasks that output to a specific field.

You’ll need:

- An application in Swimlane with a field
- The name of the field in Swimlane
- Google Chrome

To find tasks with a specific output field:

1. Load the **Application Builder** page.
2. Open [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools).
3. Select **Network** and find the Application ID from the URL of the current page.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/L4aAaJOQZnj3SMGM6_lPE_url-application-id.png" size="44" width="2441" height="823" position="center" showCaption="false"}
4. Select **Response**, copy the text, and paste it into a JSON document viewer.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/fvDfEzfPlWMq8_9Iel3Sh_response-json-viewer.png" size="42" width="1415" height="668" position="center" showCaption="false"}
5. Search the document viewer for the field name.

   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/H9yxRJCxaPydL-W6YXcK2_field-name-code-swimlane.png" size="26" width="431" height="322" position="center" showCaption="false"}
6. Copy the **id** field.
7. Connect to MongoDB.
8. Paste the field id into the following query and run it:
9. db.getCollection('Tasks').find(\{'Outputs.Mappings.Value': 'xxxxxx'}).pretty()
10. Code similar to the following image will be returned in the JSON document viewer.

    ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/BFYjZjkKx65tyNqn_z9Co_code-example-task-output-field.png" size="36" width="489" height="415" position="center" showCaption="false"}
11. The important fields to look at are the **\_id** and **Name** fields.

    ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/bsz05ifXJAtY_sy_hDC3f_important-fields-code-example.png" size="30" width="267" height="44" position="center" showCaption="false"}
12. Use these fields to track down the tasks in Swimlane.

