- 10 Jan 2022
- 1 Minute to read
- Print
- DarkLight
Object Overview
- Updated on 10 Jan 2022
- 1 Minute to read
- Print
- DarkLight
Overview
Objects are representations of the overarching DataType for any piece of data Decisions. It is also the generic Property method for mapping data of any DataType into a Flow step or Form control.
By nature, Objects are parameterless, variable at runtime, and cannot be mapped similarly to other DataTypes. Instead, Objects rely on specialized Object mapping steps in conjunction with the Properties other data within the environment to map correctly.
If wishing to export an Object, please refer to the Configuring Object Properties With Flow Steps article.
The following document provides insight and links to additional documentation regarding Objects and their use.
Configuring Object Properties
Objects require further configuration through the use of other steps and/or their Inputs/Outputs since they are undefined at runtime. This data can be applied individually or by mapping a Data Pair to the Object.
Alternately, once an Object has been defined, Properties from an Object can be Output through the use of additional Flow steps.
This can be achieved with some of the following steps/methods:
- Data Pair to Object
- Mapping Output Data from the Start step to an Object created by a Create Data step
- Set Property On Object
- Get Property On Object
CSV To Object Mapping Step
To implement the use of data from outside of the Decisions environment, users may utilize the CSV to Object Mapping step. This step allows the ability to map defined CSV data to a designated Object in Decisions.
This step takes in a Csv file (Csv, xls, xlsx), evaluates the designated CSV Delimiter, and Outputs the data in the form of a List of the selected Output Type.
Formatting Objects With Format Text Step
To add to the versatility of Objects, the Format Text step allows users the ability to apply .NET String.Format methodology to an Object. This allows the Flow Designer to convert an Object into a String and to format the text with a specified Format String.
Object Lock Services
To restrict access to specified Objects within the environment, the Flow Designer provides the Lock Object step. These steps determine how long an Object is Locked and when to release that lock.