| 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 Do Not Disturb (priority) mode.</pre> |
| | | | |
| − | This constraint can be used to allow a trigger to fire only when the priority mode is in a certain state.
| + | ''' Options ''' |
| | + | |
| | + | * '''All (DND Off)''', '''Priority Only''', '''Total Silence''', '''Alarms Only''' |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Enable DND only if it is currently off'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Application Launched/Closed - Launched (Zoom)</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Priority Mode / Do Not Disturb (Priority Only)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Priority Mode / Do Not Disturb - All (DND Off)</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Priority Mode/Do Not Disturb|Priority Mode/Do Not Disturb Trigger]] |
| | + | * [[Action: Priority Mode / Do Not Disturb|Priority Mode / Do Not Disturb Action]] |