Follow-On Topics

Related Topics

# Creating Calculation Formulas

The Calculations dialog box is displayed when the Calculations button is selected in the Formatting tab of the Create Workflow Job dialog box. Validations may be created on controls within a Workflow Job web form so that when a Workflow Job is submitted, the Calculation formula is applied to the value entered in the form. For example a user may enter a value in Pounds Sterling which, after a Calculation formula is applied, will be provided in US Dollars. The dialog box displays a list of Calculations created for controls contained within a Workflow Job and enables them to be edited, deleted or new Calculations created through the following:
|  | Calculations — Displays a list of Calculations created for the Workflow Job.
| Click the image to view full size.

|  | Add — Displays the Edit Calculation dialog box which contains the following controls for creating a new Calculation:

|  | Destination Control — Displays a list of controls available in the Workflow Job for selection.

|  | Formula — A formula in either VBScript or Javascript, depending on the option radio button selected, may be manually entered.

|  | VB Script and Javascript — Select the appropriate option for the script type you are using to create the formula.

|  | Script Editor — Clicking on the button displays the Rule Script dialog box in which the script may be manually entered.

|  | Remove — Removes the selected Calculation from the table.

|  | Edit — Displays the Edit Calculation dialog box to enable details for the selected Calculation to be edited.

Copyright © 2018 Quadrant Software B.V. All rights reserved.