Using the Calculate element
- Updated: 2025/08/19
Use the Calculate element to allow dynamic calculation and display of number and date fields using formulas in process forms across Automation Co-Pilot interfaces.
Forms with calculation fields are now more accurate and dynamic in all Automation Co-Pilot versions that use process forms. You can use the Calculate element for the following purposes:
-
Dynamic Formula Rendering: Forms used in Start, Form, or Approval steps within a Process now fully support the Calculate element. This means formulas are automatically calculated and their results are shown directly in the form.
-
Field Type Support:
-
Number Fields: Numerical values are calculated and displayed based on the set formula.
-
Date Fields: Dates calculated using supported functions are now shown correctly.
-
-
Real-Time Calculation Display: When a request is created from a process that includes a Calculate field, the form will dynamically show computed values based on the formula logic set in Form Composer.
For example, you can use the Calculate element to calculate things like: age, total based on quantity and cost, automatic discounts, or temperature conversion.
Procedure
Use Case: Convert Fahrenheit to Celsius Using the Calculate Element
Use Case Description
In situations where users need to change temperature values, like in manufacturing, facility reporting, or health-related tasks, the Calculate element can be set up to automatically convert a Fahrenheit temperature into Celsius. This makes sure that the values are shown correctly and in real-time directly in the form across Start, Form, or Approval steps in Automation Co-Pilot.
Formula: To convert Fahrenheit to Celsius, use the standard formula:
Celsius = (Fahrenheit - 32) * 5 / 9
- Open Form Builder:
-
Navigate to the Automation tab.
-
Open an existing form or click Create new → Form.
-
-
Add Input Field:
-
Drag a Number element into the form.
-
Label it Temperature in Fahrenheit (for example
Fahrenheit_Temp
).
-
- Add Calculate Element:
-
Drag a Calculate element into the form.
- Label it Temperature in Celsius.
- Optionally, add hint text: Auto-calculated based on input.
-
- Create the Formula:
- Click Add expression.
- Build the formula using:
(Fahrenheit_Temp - 32) * 5 / 9
- Use the drop-downs to select your input element (
Fahrenheit_Temp
), the subtract operator (-
), and constants32
,5
, and9
with appropriate operators.
- Format the Output:
- Set decimal precision as needed (1 or 2 decimal places).
- Optionally add suffix label:
°C
.
- Save and Deploy:
- Click Apply, then Save the form.
- Use the form in a Start, Form, or Approval step in your process.
When a user enters a Fahrenheit temperature, the Celsius equivalent is automatically calculated and displayed—providing a smooth, dynamic experience without requiring manual conversion or external tools.