NextGen FSM

Add a Calculate Node to a Dynamic form

This guide provides instructions on how to add and configure a "Calculate" node in dynamic forms in OverIT's NextGen FSM platform. By configuring this node, you can automatically derive and display values based on predefined formulas, enhancing data accuracy and reducing manual input for users.

Before you begin

Ensure you have access to the dynamic forms configuration in the FSM product. This task assumes you are in the process of defining or modifying a dynamic form.

How to Add and Configure a Calculate Node

  1. Insert a Calculate Node: Within your dynamic form, add a new "Calculate" node where you want the calculated value to appear.

  2. Define the Calculation Expression:

    • Access the properties of the newly added Calculate node.

    • Locate the field for defining the expression or formula.

    • Enter the mathematical or logical expression that will determine the node's value. This expression can reference other nodes within the same dynamic form (e.g., [Node1_ID] + [Node2_ID]).

    • Use appropriate operators (+, -, *, /, >, <, ==, etc.) and, if necessary, built-in functions to define the calculation logic.

Configure Dynamic Behavior using Expressions

While the Calculate node's primary function is to display a calculated value, its output can also be used to drive dynamic behavior in other nodes within the dynamic form.

  1. Access Expression Settings (for dependent nodes): For other nodes that you want to be affected by the Calculate node's value, locate their expression configuration sections.

  2. Define Conditions referencing the Calculate Node:

    • To control visibility: Set conditions to make another node visible or hidden based on the calculated value (e.g., [CalculateNode_ID] > 10).

    • To enforce mandatory input: Configure another node to become mandatory if the calculated value meets certain criteria.

    • To pre-fill data: Define conditions to automatically pre-fill another node with the calculated value.

    • To set read-only status: Specify conditions to make another node read-only based on the calculated value.

After you finish

Once configured, the Calculate node will automatically compute and display its value based on the defined expression and the input from other fields. This read-only field will update in real-time, providing immediate feedback and ensuring data consistency.