Description:
This step compares strings using “Fuzzy Compare” logic. Fuzzy logic is a form of logic that deals with degrees of truth, rather than the absolute truth (true or false) of classical logic. It allows for intermediate values between 0 and 1, representing varying degrees of truth or membership in a set. This enables fuzzy logic to handle uncertainty and imprecision more effectively in real-world situations. Here, elements have partial membership, unlike crisp sets, where elements are either fully inside or outside the set.
Inputs
- stringList – list of strings
- ratio - match ratio
- varGlobalStoreRatio - variable or global match ratio
Returns
- True – step executed successfully
- False - step failed to execute
Usage:

Example:
Let’s build and execute the “fuzzyStringCompareDef” example:
- Create a new definition called “fuzzyStringCompareDef” and open the definition in designer mode.
- Drag an “UpdateVariable, fuzzyStringCompare” step to the canvas.
- Connect the dots between the “Start” and other steps, as shown above.
- Define a variable or a global to store the string, average ratio value.
- Click the "UpdateVariable" step to configure its "Required" properties. Provide a name for the step. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- Click the "UpdateVariable" step to configure its "Optional" properties. Click the button to update multiple variables, OR provide a single variable reference and a value as shown below. Select “No” if the variable value has no C# expression. Click the Save button.

- Click the "fuzzyStringCompare" step to configure its "Required" properties. Provide a name for the step. Click the button to provide a list of strings. Provide a match ratio value. Click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description.

- Click the button to provide a list of strings. Click the Add Row (+) button to insert an empty row. Provide a string value. Click the Save button. You may insert multiple strings by using the Add Row button.

- Click the "fuzzyStringCompare" step to configure its "Optional" properties. Provide a variable or global reference to store the average ratio value. Click the Save button.

- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and then execute it. Render the process instance. Click the process step to view its properties. The step should compare the strings using “Fuzzy Compare” logic.
Definition Sample:
You may download the sample definition(s) from the link here and later import them (drag-and-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after import. Then, save the definition to confirm the changes.
Click here to download the sample file.