Titan Loop for Web

Business Background

Sometimes you may have a collection of items that you want to evaluate one by one. A loop is a series of instructions repeated until a specific condition is reached. You can create an action for each item in a list; for instance, change the rows in a table. You can create, update, or delete a number of records at once.

Titan Solution

  • With Titan, you can add a loop to your Web project.
  • You can evaluate a list of items one by one, for instance, a repeat strip, a variable, or the rows in a power table, and add an action to the evaluation.

How to Video

Coming soon!

How to Guide

The following options are available:

  • Loop: evaluate each item in a list.
  • Continue: after one item is evaluated and the action is executed, continue with the next item.
  • Break: stop the Loop process.
Loop options
Loop options
  1. Open a Web project. In this example, we added a power table and a button.
  2. Click the On Click icon to configure an action for the button.
On Click Action
On Click Action
  1. Click the + icon. The Add Node screen opens.
+ icon
+ icon
  1. Under Loop, click the Loop option and the Next button.
Loop option
  1. Select the power table from the Loop on Element drop-down list and click the Next button.
  2. Add a tag if necessary and click the Insert button.
Loop on Element drop-down list
Loop on Element drop-down list
  1. Click the + icon to add a condition For Each loop. The Add Node screen opens.
+ icon
+ icon
  1. Click the Condition option and click the Next button.
Condition option
Condition option
  1. Configure a condition and click the Next button.
  2. Add a tag if necessary and click the Insert button.
Add Node/Condition
Add Node/Condition
  1. Click the + icon to add a “then” condition. In this example, table interactivity is added.
+ icon Condition Then
+ icon Condition Then
  1. Click the Affected Elements option and click the Next button.
Affected Elements option
Affected Elements option
  1. Select the Power Table/Row Style option by clicking the checkbox.
  2. Use the drop-down list and select the Set background color option.
  3. Select a color and click the Apply button.
  4. Click the Next button.
  5. Add a tag if necessary and click the Insert button.
Add Node/Affected Elements
Add Node/Affected Elements
  1. Click the + icon of the Affected Elements node. The Add Node screen opens.
+ icon Affected Elements
+ icon Affected Elements
  1. Under Loop, click the Loop Continue option.
  2. Click the + icon of the Condition’s Else option.
  3. Under Loop, click the Loop Continue option.
  4. Click the + icon of the Loop’s On Finish option.
+ icon On Finish
+ icon On Finish
  1. Click the Show message option and add a message.
  2. Click the Next button, add a tag if necessary, and click the Insert button.
Example
Example
  1. Save and Preview the project. You will see the accounts that have Gold status.
Example
Example
  1. Click the button. All the rows are evaluated, and the rows corresponding to the Loop conditions are changed.
Loop example
Loop example

Learn more about Titan for Salesforce.

Hidden Title

Need more help?