Scenario:
A monitoring process monitors the amount of free disk space on a server. If the amount of disk space is between 15 and 200 gigabytes, no action is taken. If the amount of disk space is between five and 15 gigabytes, an email is sent to the server administrator with a low disk space warning. If the disk space is between zero and five gigabytes, an email is sent to the server administrator with an urgent low disk space warning.
Workflow 7.x, 8.x
Process: This process is created as a Monitoring-type project.
The following screen shot shows the process:
The GetComputerInfo component retrieves data from the server and delivers it to a Number Range Rule component. The Number Range Rule component looks specifically at the hard drive space variable and evaluates its value.
Based on the amount of space found, the process either sends an email or takes no action. Notice that different emails are sent based on the urgency of the situation.