What is a custom data type?
A custom data type is used on a step property to display a particular field or group of fields. A data type might represent a basic text box for input or a more advanced pop-up UI for user selection.
Let's examine the configuration of the “Decision” step:

The configuration of the “Decision” step looks as follows:

Regarding the above diagram, the “Decision” step has a property called “condition,” which is of the “string” data type. When the step is rendered within the process designer, the “condition” property appears as a text box.

Custom data types.
Custom data types can be set up using the data type screen in the FlowWright Configuration Manager.

Select the “string” data type from the table and click on the View - Render menu option.

When the “string” data type is rendered, it looks as follows:

Writing a custom data type.
Implementing the “IFWDataType” interface makes it easy to create a custom data type. The following code shows the implementation of the “string” data type.
Here's an example video of how to build a custom data type:
Here's the code sample that was used in the custom data type:
using FlowWright.Engine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FW10CustomItems { [DataTypeData("fwtextbox")] public class FWTextBox : IFWDataType { public string Render(FWDataTypeContext oDataTypeContext) { string sValue = ""; if (!string.IsNullOrWhiteSpace(oDataTypeContext.SelectedValue)) { sValue = oDataTypeContext.SelectedValue; } string sHTML = $"<input name='{oDataTypeContext.ControlID}' type='text' value='{sValue}' id='{oDataTypeContext.ControlID}'>"; return (sHTML); } } }