--- title: "Returning Alternate Truth Table Results Using Optional Input " slug: "returning-alternate-truth-table-results-using-optional-input" updated: 2021-12-03T19:19:02Z published: 2021-12-03T19:19:02Z canonical: "documentation.decisions.com/returning-alternate-truth-table-results-using-optional-input" --- > ## 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 Alternate Truth Table Results Using Optional Input Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## Overview | ## Example Lab Details | | --- | | **Version** | 7.8.0.6420 | | **Root Folder** | [T-042727] | | **Modules** | None | | **Dependencies** | Five: Truth Table 2 [Truth Table], Form 1 [Form], Rule 1 [Statement Rule], Object [System] [Data Type], TruthTable 1 [Truth Table] | This Example Lab demonstrates how to use a Rule to determine whether a "Single" or "Multi-Input" Truth Table is utilized. --- ## Explanation The following example demonstrates how to use a **Form** to **Output** a **Boolean** value to a **Rule**. The Rule in turn evaluates whether the user has selected to use one or multiple (**Single** or **Multi**) values as **Input** for a **Truth** **Table**. The Flow then continues down the path of the selected option to determine which Truth Table the user's Input is sent through. The Truth Table then returns the expected Output for the specific number of Inputs used. Reference Articles[Create a Truth Table](https://documentation.decisions.com/docs/creating-your-first-truth-table) [Creating a Rule](https://documentation.decisions.com/docs/creating-your-first-rule) [Using Multiple Data Return Truth Tables](https://documentation.decisions.com/docs/using-multiple-data-return-truth-tables) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2021-12-03_13h56_06.png)![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2021-12-03_14h05_51.png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2021-12-03_14h08_27.png)![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2021-12-03_14h08_37.png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 7.8.0.6420 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [042727_ruleexample.zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/042727_ruleexample.zip) ---