AgileApps Support Wiki Pre Release

Difference between revisions of "Defining Conditions"

From AgileApps Support Wiki
imported>Aeric
(Created page with "<noinclude>__NOINDEX__</noinclude> To add a condition: # Click '''[Add Condition]''' #: # Choose a field #:File:ChooseFieldDialog.png #:* Here, the selected field points to a...")
 
imported>Aeric
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>__NOINDEX__</noinclude>
<noinclude>__NOINDEX__</noinclude>
To add a condition:
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:
# Click '''[Add Condition]'''
:[[File:ChooseConditionOrExpression.png]]
 
'''To add a condition:'''
# Click '''[Add Condition]'''. A field-chooser dialog opens.<br>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.
#:
#:
# Choose a field
# Choose a field.<br>[[File:ChooseFieldDialog.png]]
#:[[File:ChooseFieldDialog.png]]
#:* Here, the selected field points to an '''Account'''
#:* Here, the selected field points to an '''Account'''
#:* Since each Account has multiple fields, selecting it causes those fields to be displayed.  
#:* Since each Account has multiple fields, selecting it causes those fields to be displayed.  
#:* When you have the field you want, click '''[Select Field]'''
# When you have the field you want, click '''[Insert Field]'''<br>Or use the '''[Close]''' button to close the dialog without selecting anything.
#:
#:
# Choose an operator:
# After selecting a field, the dialog closes, and the selected field appears in the condition.<br>[[File:ChooseFieldOperator.png]].
#:[[File:ChooseFieldOperator.png]]
#:* The choices depend on the type of field that was selected
#:
#:
# Type in a field value
# Choose an operator.<br>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'').
#:[[File:ChooseFieldValue.png]]
#:
#:* Type in the value
# Set the comparison value:
#:* Click the "x" icon to remove the condition.
## For a text field, type in a string.<br>[[File:ChooseFieldValue.png]]
</blockquote>
##:
##:'''Note:''' Click the "x" icon to remove a condition that is no longer needed.
##:
## For fields like a multi-select picklist, you can choose "One of", and then create a list of values.<br>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.)
##: [[File:ChooseMultipleFieldValues.png]]
##:
## When comparing against a Date field, many types of [[Date Comparisons]] are possible.

Latest revision as of 20:51, 5 September 2014

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.