--- title: "Returning Multiple Values in Truth Tables" slug: "using-multiple-data-return-truth-tables" description: "Configure Truth Tables to return multiple outcomes from a single set of input data. Results are returned as a list of objects." tags: ["rule", "truth table"] updated: 2026-07-13T17:08:37Z published: 2026-07-13T17:08:37Z canonical: "documentation.decisions.com/using-multiple-data-return-truth-tables" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Returning Multiple Values in Truth Tables ## Overview Truth Tables can be configured to return more than one outcome, which is helpful when there is a single set of data that a developer may need to be analyzed in multiple ways. The result of the Truth Table will be outputted as a list of objects. --- ## Example This example will explore creating a basic **Truth Table** that takes in the age of an applicant to return multiple true/false evaluations based on the criteria configured. The Truth Table will show whether the applicant is able to rent a car, whether a Young Driver fee is applied, and the estimated cost per day is. 1. [Create a Truth Table.](https://documentation.decisions.com/version-10/docs/creating-a-truth-table) When the **Data Definitions** window appears, define an input as **Age** and set the **Type** to be **Int32**, then close the **Data Definitions** window. 2. Click **[Select Data Element]** and pick **Age** from the list, then click Close.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707919249.png) 3. The **Pick Verb** window will open automatically, select **Between** from the **Number Rules** section and then click Close.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707942009.png) 4. Hover over the top **Default Output Data** cell and click the pencil icon when it appears.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707962538.png) 5. Replace **DefaultOutputData** with **Can Rent** for the **Name** field then click OK. Leave **Boolean [Logical]** as the **Type**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781707985300.png) 6. Click the plus icon to the right of the **Can Rent** cell. Define this new Output Data with the name **IsYoungDriver** and **Boolean [Logical]** as the **Type**, then click OK. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781708187575.png) 7. Repeat the above steps to create a new output column with the name **CostPerDay** and **Int32** as the **Type**, then click OK.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781708060809.png) 8. Now that the outputs are configured, define three separate rows for testing, as shown below![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781708225511.png) --- ## Debug 1. Click the **Debug** button on the top **Action Bar** of the **Rule Designer**. 2. Under the **Default Inputs** section, define the **Age** as **23**, then click **Run Capturing All**. The Truth Table will evaluate the input data. The output will evaluate whether they are able to rent a car, if they are a young driver, and their estimated cost per day is 45. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781708244498.png)