| Line 1: |
Line 1: |
| − | <span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span> | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current VPN state.</pre> |
| | | | |
| − | This constraint can be used to allow/prevent actions being run depending if the device is currently connected to a VPN (Virtual Private Network) or not.
| + | ''' Options ''' |
| | + | |
| | + | * '''Connected''': Constraint passes only when a VPN is connected |
| | + | * '''Disconnected''': Constraint passes only when no VPN is connected |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Open a banking app only when VPN is connected'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Widget Button</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Launch Application: Banking</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | VPN State - Connected</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: VPN State|VPN State Trigger]] |