Create the data types.
A policy is a collection of rules to be executed in strict order, meaning that they'll run in the order in which they are added to the policy, and only the results of the last rule execution will be given as the final output of the decision.
A data type describes the data structure that can be used as an input and/or output parameter in an automation, a decision, or steps, activities, skills processes, scenarios, triggers, or notifiers. Data types facilitate the manipulation and validation of data.
You can create a data type manually, but some data types can also be created automatically when SDK packages or pre-packaged scenarios are imported, or after running an automation.
Now, you've to map the Input and Output of the decision to the actual data object available with the process. In this section, you will use Sales Order as the Input data object and Approver as the Output data object. While the Sales Order was already created in the automation step, you'll create an Approver data object for decision output.
In the following steps, you will create data types.