Data boolean check
The Data boolean check policy item registered with the Policy system, allows you to have the policy check to see what the current value of a global data boolean value is. Each time it is checked as part of policy processing, its value (either True/Yes, or False/No) will determine which path the policy evaluation will take.
A common use for the Data boolean check policy item, is using the boolean data value as a switch to determine policy flow. Since the global boolean value can be set by other WinGate components at anytime, referring to this value when using the Data boolean check, can steer the policy evaluation dependent on a condition that causes the WinGate component to change the boolean value. This is common when a dashboard switch has been created around the global data boolean value on the dashboard.
To use the Data boolean check policy item:
(Please refer to the Policy system help for more information on creating policies)
- Select or create a policy to open a policy editor.
- In the Items section of the policy editor toolbox, select the Data boolean check item and drag it on to the worksheet. This will automatically open the Data boolean check properties.
- From the Check boolean drop down menu, select a previously configured global data boolean value that the policy item will check. In this example several boolean values have been configured in the Data system. The RestrictOnlyDuringWorkHours boolean (selected) has been created to indicate when work hour restrictions should be implemented (when the boolean is set to true). Creating a corresponding switch on the WinGate dashboard allows administrators to turn it on (set it to true) during work hours and switch it off outside of work hours.
Whenever the policy checks this value during work hours, it can be sent down the restricted processing path in the policy flow chart, but when the boolean switch is set to false, the policy will send it down an alternative processing path (for outside of work hours).
- Click OK to finish editing the Data boolean check item and return to the worksheet.
- The Data boolean check policy item will now blink, allowing you to give it a meaningful name so you can identify it easily in the policy evaluation flow.