Difference between revisions of "Common:LogicalCriteria"

From AgileApps Support Wiki
imported>Aeric
(Created page with "=====Unconditionally (Always)===== : Use this option for actions that should occur whenever the Rule is invoked.<br>(This option is not present for Scheduled Rules.) =====Wh...")
 
imported>Aeric
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<blockquote>
=====Unconditionally (Always)=====
=====Unconditionally (Always)=====
: Use this option for actions that should occur whenever the Rule is invoked.<br>(This option is not present for [[Scheduled Rules]].)
: Use this option for actions that should occur whenever the Rule is invoked.<br>(This option is not present for [[Scheduled Rules]].)
Line 11: Line 12:


=====When Specified Expression is True=====
=====When Specified Expression is True=====
: More complex conditions can be specified using the [[Expression Builder]]. For example, here is an expression that checks for either P1 or P2 priority on a new case:
: More complex conditions can be specified using the [[Formula Builder]]. For example, here is an expression that checks for either P1 or P2 priority on a new case:
::[[File:ExpressionSpecification.png|border]]
::[[File:ExpressionSpecification.png|border]]


Line 21: Line 22:
::* [[ISCHANGED]] function
::* [[ISCHANGED]] function
::* [[PRIORVALUE]] function
::* [[PRIORVALUE]] function
</blockquote>

Latest revision as of 01:45, 9 May 2014

Unconditionally (Always)
Use this option for actions that should occur whenever the Rule is invoked.
(This option is not present for Scheduled Rules.)
When Specified Conditions are True
Use this option to specify a series of conditions that determine whether the Rule's actions are carried out.
  • All of the Conditions are met - Every condition in this category must be satisfied
  • Any of the Conditions are met - At least one of the conditions in this category must be satisfied.
For example, here are tests for a variety of conditions, to show the kinds of possibilities that exist:
ConditionSpecification.png
Learn more: Defining Conditions
When Specified Expression is True
More complex conditions can be specified using the Formula Builder. For example, here is an expression that checks for either P1 or P2 priority on a new case:
ExpressionSpecification.png
Expressions also allow the use of the platform's built-in Formula Functions. For example, this expression returns true only of a specific field has changed, and if had some specific value before it changed:
AND( ISCHANGED('some_field'),
IF(PRIORVALUE(some_field) == 'some_value', true, false) )
Learn more: