About Truth Tables
  • Updated on 23 Sep 2019
  • 1 minute to read
  • Print
  • Dark
    Light

About Truth Tables

  • Print
  • Dark
    Light

Overview

Truth Tables are rules that compare the possible combinations of multiple inputs, allowing the user to arrive at different outcomes depending on the specific combination. A truth table can output a piece or pieces of data, or take action by calling a flow. This Rule is represented as a table where conditions can be added at the top (Predicate and Verb), and nouns are defined as rows of the Truth Table along with an expected Results (Outcome Data). Truth Tables can be configured to return more than one outcome. This is helpful when there is a single set of data that a developer may want to be analyzed in more than one way.

Explanation of the Truth Table Rule Types:

  • Data Return Rule (Single): Returns single variable into the flow.
  • Action Rule: Passes in value and executes a flow.
  • Data Return Rule (Multiple, Composite Type): Creates a new datatype based on the fields that are specified in the return. This allows the developer to dynamically create datatypes for the output of the truth table based on what fields are defined.
  • Data Return Rule (Multiple): Returns multiple variables into the flow.

Below is an example of a Truth Table.

2018-05-23_152608.png

Was this article helpful?