Text Comparison Widget

Business Background

Compare the values in similar fields in a Salesforce object, or the same fields in different records.

Titan Solution

You can use the Text Comparison widget to compare the differences in similar fields; for instance, if you have multiple answer versions of the same questionnaire and you want to see where changes occurred.

How to Video

Coming soon!

How to Guide

  1. Select the + icon to add an element.
  2. Under the Widget option, scroll down and drag-and-drop the Text Comparison widget to the canvas.
Diff Viewer widget
Diff Viewer widget
  1. Drag the Text Comparison bigger. You will see the example text.
Note:

Any deletions are marked with pink on the left and additions are marked with green on the right.

This image has an empty alt attribute; its file name is image-24.png

If there are no changes, the text on both sides will be shown without any colors when you preview the project.

This image has an empty alt attribute; its file name is image-290-1024x268.png

  1. Click the Gear icon to open the Settings screen.
  2. Use the drop-down list to select a method:
    • Chars: any characters that change will be shown.
    • Words: the changed words will be marked.
    • Words with spaces: the changed words and spaces will be shown.
Diff Method
Diff Method
  1. If necessary, label the sides of the widget.
  2. If necessary, click the checkbox to hide the line numbers on the left of the widget.
Labels
Labels
  1. Open the Pages drop-down list and click the Kebab icon next to the page where the DIff Viewer widget is
  2. Click the Configure Actions button. The Configure Action screen opens.
  3. Select the Every Time option and click the + icon next to the Start node.
Configure Actions - Every Time
Configure Actions – Every Time
  1. Click the Salesforce option and click the Next button.
Add Node screen
Add Node screen
  1. Click the Salesforce Integration button.
Add Node/Salesforce Integration screen
Add Node/Salesforce Integration screen
  1. Click the Create New button.
Salesforce Integration screen
Salesforce Integration screen
  1. Use the drop-down list to select the object in Salesforce. In this example, Contacts was selected.
  2. Use the drop-down list to select the action. In this example, User action was selected.
Map Salesforce Fields - Object
Map Salesforce Fields – Object
  1. Click the Conditions option and configure the necessary condition. In this example, the Contact ID is equal to a static value.
Map Salesforce Fields - Conditions
Map Salesforce Fields – Conditions
  1. Click the Mapping and configure the mapping for the Diff Viewer/Old and Diff Viewer/New fields. These are the two fields that will be compared.
  2. Click the Apply button.
Map Salesforce Fields - Mapping
Map Salesforce Fields – Mapping
  1. Click the Close button.
  1. Use the drop-down list to select the Process push or get.
  2. Click the Next button.
Add Node/Salesforce Integration screen
Add Node/Salesforce Integration screen
  1. Add a tag if necessary and click the Insert button. The Salesforce Node is added.
  2. Click the Apply button.
Configure Actions screen
Configure Actions screen
  1. Save and Preview the project. You will see the changes:
Example
Example

Hidden Title

Need more help?