Defining Conditions

From AgileApps Support Wiki
Revision as of 20:51, 5 September 2014 by imported>Aeric
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can add a simple condition, or when needed, you can also add a more complex expression, using the Formula Builder. You'll generally use conditions, because they're easier to work with:

ChooseConditionOrExpression.png

To add a condition:

  1. Click [Add Condition]. A field-chooser dialog opens.
    Note that can specify one set of conditions that ALL need to be true, and another set in which it is sufficient for ANY of the conditions to be true.
  2. Choose a field.
    ChooseFieldDialog.png
    • Here, the selected field points to an Account
    • Since each Account has multiple fields, selecting it causes those fields to be displayed.
  3. When you have the field you want, click [Insert Field]
    Or use the [Close] button to close the dialog without selecting anything.
  4. After selecting a field, the dialog closes, and the selected field appears in the condition.
    ChooseFieldOperator.png.
  5. Choose an operator.
    The choices depend on the type of field that was selected. Here, the operators are used to compare bits of text (also known as Strings).
  6. Set the comparison value:
    1. For a text field, type in a string.
      ChooseFieldValue.png
      Note: Click the "x" icon to remove a condition that is no longer needed.
    2. For fields like a multi-select picklist, you can choose "One of", and then create a list of values.
      Here, a condition is true if the Case came in on one of several channels. (Every time you choose a value, a slot opens up to let you choose one more.)
      ChooseMultipleFieldValues.png
    3. When comparing against a Date field, many types of Date Comparisons are possible.