Calculation with Dynamic Values
- Using Symbol Picker, the values to be divided can be retrieved from the system.
- Calculations can be made conditionally according to the data selected by the user.
- Example: When the user selects different year or department data with filtering, the system can take different budget values and divide them accordingly.
Transferring the Calculated Result to Another Action
- The result of the Divide action can be used in another action.
- For example: The calculated value can be printed to another form field or saved to the database with a “Set Value” action.
Conditional Calculation and Error Checking
- If Value2 = 0, an error message can be displayed or the operation can be canceled.
- For this, control can be made with “Add Condition” from the three points next to the system action.
Technical Risks and Controls
- Divide by Zero Value: Value2 parameter must not be “0”. The system may error.
- Type Mismatches: Both parameters must be numeric (decimal/integer). Otherwise the operation may fail.
- Result Format: The result after division may be decimalized; therefore, proper formatting must be done (e.g. comma/quadrature delimitation).
The Divide action is a powerful tool that facilitates data-driven calculations and offers operational flexibility on the Kuika platform. It works seamlessly on web and mobile, can be fed from different data sources and can be integrated with other actions, making it an ideal solution for dynamic calculations in applications.