Skip to main content

Step Three

In the current scenario, a Variable object is added to the flow that holds the value of the total expense amount field on the Expense Statement Form, because the flow must proceed in different directions according to the value in the Total Expense Amount field on the Expense Declaration Form.

Because the total expense amount value is a decimal value, the Type field is selected as Decimal from the properties of the variable object. From the Target Document field, the Document1 object corresponding to the Expense Declaration Form is selected. In the Source Object property, the NumberBox1 object corresponding to the Total Cost Amount field is selected.

A Compare object is then added to the Stream. From the object properties, the Variable object (Variable1) value is selected, which holds the Total Expense Amount value from the Source Object field. The three dots in the Results property are clicked and the window that opens is called Add. Comparison Type is "Less than or equal to", Value Type is "Constant", and Value is given a value of 2000. COMPARISON