Calculations in Workflows

 Calculations in workflows are used:

  • to evaluate a test status based on a business rule and when used, generally they are followed up with an action
  • to perform a special calculation on a given set of data
    • the result can be used to continue the current activity
    • the result can be used for other activities within the workflow
    • the result can be saved to a field of an object

Example 1, in the Gateway activity, enter a simple test such as [Task] = 'Completed' and if the condition is true the gateway follows the path of exit. 

Example 2, in the Update activity, a calculation can be entered to determine the field value on a certain condition, if([Task Status] = 'Completed', [Task Completed] = true, [Task Completed] = false) .