VERSION 10 DOCUMENTATION IS IN PROGRESS. PLEASE VIEW V9 ARTICLES WHILE V10 ARTICLES ARE BEING PUBLISHED.

Database Step Glossary

Prev Next

Overview 

The following article details all steps found in the Database category in the Step Toolbox.

LocationStep NameDescriptionInputs / Outputs
Connection StringsGet Value From Connection StringThe Get Value From Connection String step gains access to the connection string thanks to its key, grabs it, and then exports the connection string value. When wishing to checking a parameter, such as Integrated Security, this step may locate its occurrence or lack thereof within the connection string.Inputs: Connection String (String), Key (String)
Outputs: Output (String)
LeasingDelete Leased EntityThe Delete Leased Entity step deletes the leased Entity. The user may choose to hard delete the leased Entity. Hard deleting typically occurs upon completing processing for the leased Entity and no other process intends to work on it.Inputs: Entity (Object), Hard Delete (Boolean)
Outputs: None
Lease Entity StepThe Lease Entity step fetches an Entity and acquires a leases on it preventing other process threads from working on the Entity. The Lease Setup settings specify the amount of leases and for how long they are applied. By default, it contains two outcome paths: No Entry To Lease and Leased Entity.Inputs: Parent Folder Id (String)
Outputs: None
Release LeaseThe Release Lease step frees up the specified leased Entity according to the lease's ID thus allowing the entity to be used in another process thread. This release may be permanent or for a specified time according to the For How Long input. Furthermore, the Release Behavior Input configures release to either delete, logically delete, or unlease the Entity.Inputs: Entity (Object), For How Long (TimeSpan), Lease Id (String), ReleaseBehavior (ReleaseBehavior)
Outputs: None
Renew Lease EntityThe Renew Lease Entity rule step continues the lease the specified Entity beyond its original expiration date/time if the Rule passes as True. The length of this extension is specified by the For How Long Input.Inputs: Entity (Object), For How Long (TimeSpan), Lease Id (String)
Outputs: None
Try Lease EntityThe Try Lease Entity step applies a lease on the specified Entity for the specified length of time. Unlike the Lease Entity step, this step only applies one lease per initialization and then outputs the now leased Entity.Inputs: Entity (Object), For How Long (TimeSpan)
Output: Output (String)





Root
Attach Extension to EntityThe Attach Extension to Entity step combines a premade Entity, such as a Folder, with the specified Extension such as a Flow Execution Extension. This is less intensive thus faster than Create steps when batch inserting multiple entities.Inputs: Entity, Extension, Save (Boolean)
Outputs: None
Batch Insert EntitiesThe Batch Insert step takes a list of Decisions objects and then saves that list in the Decisions database.
Inputs: None
Outputs: None
Batch Insert Entities (auto-queue)The Batch Insert Entities (auto-queue) step takes in data one piece at a time and then stores it in Decisions memory for a specified amount of time, via the Batch Save Time configuration. After the time has passed the data that is stored in memory is then saved in the database
Inputs: None
Outputs: None
Batch Insert Entities (save pending)The Batch Insert Entities (save pending) step allows the data being stored in memory to empty before the specified time by the Batch Insert Entities (auto-queue). The step executes the process when all data has been filtered through. Inputs: Entity Id(String), New State(String)
Outputs: None
Delete All of TypeThe Delete All of Type step deletes all data objects of a user specified type. The step utilizes the Type Name input to determine which data objects to delete.Inputs: None
Outputs: None
Delete All of Type in FolderThe Delete All of Type in Folder step deletes all data objects of a user specified type in the specified folder via their Folder ID. The step utilizes the Type Name input to determine which data objects to delete.
Inputs: Folder Id(String)
Outputs: None
Delete and Clear EntityThe Delete and Clear Entity step takes in a Flow Data Structure ID, deletes the Entity, and clears any associated tables using its data.Inputs: Entity Id (String)
Outputs: None
Delete EntitiesThe Delete Entities step is used to delete pieces of data from a user defined type. The step determines which data to delete similarly to how a Fetch Entities step collect data through use of a set Type Name, an applicable Extension Type Name, Parent Folder Id, and Fetch Criteria. Successful completion of the Flow results in deletion of the configured data. Inputs: Parent Folder Id(String)
Outputs: None
Delete EntityThe Delete Entity step deletes an entity. Inputs: Entity Id(String)
Outputs: None
Export Entities to CSVThe Export Entities to CSV step takes an Entity according to its Type Name and its Field Names and then outputs them into a CSV file. When selecting the Build Array mapping type for the Field Names, it will export the Field Names in the order specified. If wishing to export an Entity without knowing all the required names, the List to CSV step may help instead.Inputs: Field Names (String[]), Type Name (String)
Output: SampleFile (FileData)
Fetch Entities 
The Fetch Entities step pulls data for a user defined type in a workflow. Users may define specific fields and matching criteria via the Fetch Criteria input. The step outputs two separate output paths; one for when the step returns Results, and the other to express when No Results are found. Inputs: Parent Folder Id(String)
Outputs: None
Get Changed FieldsThe Get Changed Fields step searches the specified Entity for changes and, if any are found, returns an array of field names where the current value differs from its value stored in the database. This is related to the Is Changed step, but this instead gathers the exact details of the change.Inputs: Entity Id (String)
Outputs: Output (String[])
Get CountThe Get Count step returns a count of all objects pertaining to a user defined type. Similar to the Fetch Entities Step, this step asks for a Parent Folder, Type Name, Fetch Criteria, and, if applicable, an Extension Type Name. The step returns this value as a numerical value.Inputs: Parent Folder Id(String)
Outputs: Count(Int64)
Get Field NamesThe Get Field Names step retrieves the field names associated under the specified Type Name. These retrieved field names are outputted as a String list.Inputs: Type Name(String)
Outputs: Field Names(String[])
Get Sample FileThe Get Sample File step collects a list of Field Names belonging to the same Type Name and exports them into a sample CSV file.Inputs: Field Names(String), Type Name(String)
Outputs: Sample File(FileData)
Hide EntityThe Hide Entity step hides the specified Entity in its parent Folder from the initiating user once ran. The user cannot view the Entity in the Folder View, but it is still searchable.Inputs: Entity Id (String)
Outputs: None
Import From CSVThe Import From CSV step loads tabular data from CSV or Excel-formatted files. This step imports an Excel or CSV file into a data type. The assumption is that the imported data type has properties that correspond to the columns of the excel file.Inputs: Import File(String), Type Name(String)
Outputs: None
Is Change Tracking EntityThe Is Change Tracking Entity rule step checks if the specified Entity's type is one that tracks field changes for audit purposes.Inputs: Entity Id (String)
Outputs: None
Is ChangedThe Is Changed rule step validates if the specified Entity has changed. This is related to the Get Changed Field step, but this step checks for changes as true/false while the former gathers which field names have changed.Inputs: Entity Id(String)
Outputs: None
Is Field ChangedThe Is Field Changed rule step validates if the specified Field Name within the specified Entity has changed.Inputs: Entity Id(String), Field Name(String)
Outputs: None
Is ValidThe Is Valid rule step evaluates a Decisions object to determine if it passed all validation rules applied for that particular entity. Inputs: Object(Object)
Outputs: None
Move Entity
The Move Entity step relocates the specified Entity to the specified Folder.Inputs: Entity Id(String), Folder Id(String)
Outputs: None
Rename EntityThe Rename Entity step renames the specified Entity with the New Name.Inputs: Entity Id(String), New Name(String)
Outputs: None
Run Rules on Object
The Run Rules on Object step checks the specified Object for validation errors. This is useful when verifying if a Flow has any problems without manually opening it in the Flow Designer.Inputs: Object (Object)
Outputs: Output (ValidationIssue[])
Save EntitiesThe Save Entities step selects a Type Name and saves the specified Entity. Multiple Entities may be saved once enabling the Save Multiple Entities checkbox. If this is enabled, the Entity input takes a list instead.

It does not contain Fetch functionalities like the Update Entities step because this step does not require prior data to function: it saves the entity in its entirety to the database.
Inputs: Entity(UserDefinedEntity OR UserDefinedEntity[])
Output: None
Set Entity DescriptionThe Set Entity Description step sets the 'Description' field of the specified Entity.Inputs: Description(String), Entity Id(String)
Outputs: None
Set Entity StateThe Set Entity State step updates the state of the Entity once given the Folder ID of the Entity and a string of the desired State. Typically, but not exclusively, it is used with Case Entity Data Structures. When used with a Case Entity or a Flow Execution Extension, a Trigger Flow can be defined for particular states that will execute as soon as that state initiates. Inputs: Entity Id(String), New State(String)
Outputs: None
Unhide EntityThe Unhide Entity step reveals the specified Entity that was previously hidden from the initiating account.Inputs: Entity Id (String)
Outputs: None
Update EntitiesThe Update Entities step updates pre-existing values of multiples Entities under the same specified Type Name with new values. Similar to the Fetch Entities Step, this step asks for a Parent Folder, Type Name, Fetch Criteria, and, if applicable, an Extension Type Name.

Unlike the Save Entities step, this step require pre-existing data to perform.
Inputs: Custom Long Description(String), Custom Short Description(String), ID(String), Parent Folder Id(String)
Outputs: None
Update EntityThe Update Entity step updates pre-existing values of a specified Entity under a specified Type Name with new values.Inputs: Custom Long Description(String), Custom Short Description(String), ID(String)
Outputs: None
Validate Fields To IncludeThe Validate Fields To Include step intakes a specified type name and field name array and then validates whether a data upload including only those field names will encounter any potential issues and/or errors.

For example, if the primary key field is not present in the list and thus the upload, then any Entity created will not update any existing Entity: it will create a new one. Other test may include checking for a missing parent folder ID for folder Entities, missing Entity name, missing extension data if an extension, or missing folder behavior type if a folder.
Inputs: Field Names (String[]), Type Name (String)
Outputs: Warnings (String)