Creating Flow Execution Extension Data Structure
  • 03 Jun 2022
  • 3 Minutes to read
  • Dark
    Light

Creating Flow Execution Extension Data Structure

  • Dark
    Light

Article Summary

Overview

Data Structure Quick Summary
Complexity?Performance Impact?Saves to Database?Configuration Folder?Entity Framework?Folder Behavior?Process Tracking?
HighHighYesYesYesYesYes

The Flow Execution Extension is used for tracking linear processes. The Flow Execution Extension comes with out-of-the-box steps that are automatically aware of data being used in a Flow.


Example

  1. In a Designer Project, click CREATE DATATYPES/INTEGRATION and select Flow Execution Extension.
  2. Enter a name for the Structure Type Name and define data member names and their types. Once the data fields have been declared, click SAVE.

Flow Execution Extension Data Structure Settings

Setting NameDescription
Enable CachingEnables the Entity to be loaded into the cache
Hide In SearchThis hides the data type from appearing when it is searched
Include ID In Flow Cache KeyAdds the GUID to the Cache Step Key for easier searching
Type Name SpaceCreates the unique identifier for the Entity (namespace.typename) and is used to generate the SQL table name for the Entity (namespace_typename)
Audit ChangesThis saves changes to entity data in the Audited Entities table. This option is used when data monitoring is required for this Entity
Category OrderAllows data field categories to be organized in a certain way. For example, grouping required data fields together
Include Type Name In DescriptionThis enables or disables the visibility of the Type namespace

Creating Records

Since records in a Flow Execution Extension exist as extension data attached to a Process Folder, the Setup Process Folder step creates records. In this step, the Use Extension Data checkbox setting under Properties must be enabled along with the selected parent Folder to store the Process Folders record data for the Flow Execution Extension.

Support for Attaching Flow Execution Extensions to Process Folders

Set up the Flow Execution Extension when configuring the Setup Process Folder step. The Data Structure can also be configured blankly if desired. When Fetching Entities, Orphan Flow Execution Extension data is treated as Deleted, though not marked for deletion, meaning successfully fetching this data requires also fetching deleted Entities.

  1. Once the target Extension Data and a parent folder are selected, the Extension Data input can be configured.
  2. Users can map variables from the Flow to the input with Select From Flow or use the Build Data option to have access to mapping the data fields and set constant values for them.
    Folder Description and Folder Name
    It is a common Decisions practice to have the Folder Description and Folder Name fields configured dynamically. This is done by using the Merge Plain Text editor. For more input on this input option, review the Input and Output Mapping Type Overview article.
  3. In the Toolbox panel, the Process category contains default steps to be utilized with Flow Execution Extensions. It is best practice to place the steps after the Setup Process Folder step to avoid errors.

Process Folders

  1. When a Flow with a Setup Process Folder step is debugged and run, the Process Folder will be created and stored in the user-selected location. This Process Folder can be clicked on to navigate to the contents of the Folder.
  2. Within the Process Folder, users will see an audit trail of the data record's progress. 



Customizing Process Viewing Options

  1.  In the Page Designer, from the Toolbox > FAVORITES add a Report Viewer to the workspace. 
  2. In the Properties panel of the Report Viewer, locate the REPORT SETUP > PICK OR CREATE DEFAULT REPORT.
    This part of the tutorial will continue with a pre-existing Report including this data structure as the Data Source and its data fields. Please navigate to Create a Report for more information.
  3. In the Create or Pick Report window, click PICK and select the data structure Report.
  4. Navigate to the Behavior section and locate the Navigate Action drop-down menu.
    DefaultOpens the default Process View page 
    In LayerAllows the user to view the Process View page in a layer - one window over another
    In New WindowAllows the user to view the Process View page in a new window 
    Portal NavigationAllows the user to view the Process View page in the Portal; identical to the default option


For further information on Data Structures, visit the Decisions Forum.

Was this article helpful?