You must have administrator rights to access this feature.
This feature requires a Cartegraph OMS license.
This example shows how to calculate the gallons per minute (GPM) on water hydrants. Cartegraph recommends verifying the calculation in this example works for you before you implement it.
- Click >Automation Manager.
- Click Create Automation.
- Select the Verify or perform a calculation before a task is saved trigger.
- Extend the trigger with the following filters.
This makes sure the automation only runs when someone closes a task rather than other times the task is edited.
- Use a series of Condition blocks to validate that all of the required information has been entered, and use the Error Message block to report errors back to the user.
- Implement one last check to verify that the required fields are not empty.
- Use a Set Fields block. Add the GPM field to this and set the field type to (s) Syntax; use an appropriate formula.
You could start with the following formula, but you may need to adjust it to work with your system: