Getting Started with Formulas

Formulas are rules that use functions to define the relationship between inputs and outputs. The functions range from numerical calculations to dates and times. In a workflow, the formula uses token values from earlier in the workflow as inputs. The result of the formula is stored in an output token that you can use elsewhere in your workflow.

Example: You want to calculate each student's grade on an exam. With input parameters %(Correct_Answers) and %(Total_Questions), you can use the Division function to produce the formula. On the canvas, you have "%(Correct_Answers) / %(Total_Questions)". When the formula runs in a workflow, the two input parameters are replaced with token values to produce a result.

Getting Started with Formulas

To create a formula:

  1. Define input parameters.
  2. Add parameters and functions to the canvas.
  3. Specify the output parameter.
  4. Use the rule in a workflow or a business process.