Using the Calculate Step

You use the Calculate step to perform calculations on the data elements in an orchestration workflow. When you select a Calculate step, the General and Options tabs appear in the step Property Editor. The General tab contains the type, name, and description of the Calculate step. The Options tab contains the following three sections:

Procedure Summary

  1. Select an orchestration workflow to display it in the orchestration workflow editor.

  2. In the New Items section of the Step Palette, drag and drop a Calculate step onto the line between the Start and End steps.

  3. On the General tab of the Property Editor, you can change the name of the Calculate step and enter a description.

  4. On the Options tab, in the Target section, enter a working data element or an expression that represents the data element that receives the value from the Expression section. You can use any of the functions, logical operators, or arithmetic operators available on the Functions, Logical, and Operator menus, respectively.

  5. In the Expression section, enter an expression that represents the source of the data to be received by the target. You can use any of the functions, logical operators, or arithmetic operators available on the Functions, Logical, and Operator menus, respectively.

    For more information about creating expressions, see About the Expression Editor.

  6. To add another assignment, right-click in the Assignments section and select Add New Assignment. Define the target and expression for the new assignment.

    You can also split assignments into multiple Calculate steps, as well as copy, rename, delete, and reorder assignments within the step.

Related Topics

Creating a Practice Process App for Using the Step Palette

About the Expression Editor

Event Definition Property Editor

Supported XPath Functions