This lesson will cover the following topics:

01 Getting Started

This tutorial will show you how to troubleshoot common logic mistakes, including:
  • Looping errors.
  • Conditions added to the affected field rather than affecting the field.
  • Triggering a condition from the wrong actions.
  • Showing and hiding a column instead of a strip.

02 Logic Loop

There are cases when you have set a condition that will run again and again in a loop, or when a Salesforce Get to populate a field that runs over and over again.

For example, if an email field has a condition that the email field is not empty, a Salesforce Get will run to populate the rest of the fields with the contact’s details. The issue will arise when it comes to the mapping of the Salesforce Get, if the email field is mapped. When the user provides their email details, the Salesforce Get will run to retrieve the user's information including their email address. When the get populates the email field the action will be triggered again as the population of the email field triggers the action. The way to resolve this is to remove the email mapping for the Salesforce action.

03 Affected Field

The condition should always be assigned to the field you are triggering the action on.

For example, if a user does not complete the First Name field the remainder of the user detail fields such as Last Name should be made mandatory. The condition created must be assigned to the First Name field and not the fields that will be affected such as Last Name.

04 Order of Operations

It is important to consider the order of your created conditions. You should ensure that the field is populated before the condition has run. You should always go through your page load actions to ensure that the correct actions are running at the correct time, for example, if you have created a page variable, you should create a condition and not an everytime page load action.

Your global variables should be configured using the Custom Variables feature found in the Tools tab in Project Settings.

05 Showing and Hiding

When configuring a show or hide strip for an on-click action, it can be confusing to ensure you have selected the strip and not the column. Every strip consists of one or more columns, when naming your strips for easy identification when configuring an on-click action ensure you are working in the strip settings menu and not the strip column settings menu.

the difference between strip column settings and strip settings

06 Got Feedback?

Additional Resources