This shows you the differences between two versions of the page.

Link to this comparison view

action type - compare numbers [2016/09/14 14:19] (current)
Line 1: Line 1:
 +====== Compare Two Numeric Values ======
 +Choose two number [[Field|fields]] or build two numeric [[Expression Builder|expressions]]. Then, select how you will compare them to each other. ​ If the comparison is true, the evaluation will pass.  If the comparison is false, the evaluation will fail.
 +===== Explanation =====
 +Evaluations have two [[Automation Trigger|automation triggers]] associated with them : Then and Else.  Actions under the "​Then"​ automation trigger execute when the evaluation passes, and actions under the "​Else"​ automation execute when the evaluations fails.
 +{{ ::​action_evaluation_drop.png?​direct |}}
 +Numeric comparison evaluations are used to execute a set of actions if two numeric values compare successfully,​ and another set of actions if they do not.  If a non-numeric value returns from an expression on either side the evaluation will fail.
 +Example : Suppose an application contains a [[Table|table]] for Contacts with a [[Field Type - Currency|Annual Salary]] field and a [[Field Type - Selection|Tax Bracket]] field. ​ When the value in the Annual Salary field changes, the Contacts'​ Tax Bracket field needs to be updated appropriately. ​ A builder would create a series of numeric comparison actions under a [[Action Type - Field Change|field changed]] evaluation on the Annual Salary field and under the appropriate automation triggers add [[Action Type - Set Field Value|set field value]] actions to update the Tax Bracket field.
 +===== Settings =====
 +{{ ::​action_fieldcomparison_numeric.png?​direct |}}
 +==== Choose a field or build an expression ====
 +Choose a field or build an expression to be compared.
 +==== Choose how to compare them ====
 +Choose how these two expressions will be compared to one another. ​ The available options are limited to those that should be used to compare numbers.
 +Choose another field or build another expression to be compared.
 +==== Describe this action ====
action type - compare numbers.txt · Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2020