condition

condition Structure: Description of a testable condition that resolves to a boolean.

condition structure
invert boolean: optional

Description

Conditions are designed to be positive where a specific situation can be tested. A condition can more easily test for the existence of a running process or power assertion, than for the lack of these states.

Fields

type

Type of condition to test.

invert

Invert the condition's conclusion.

Conditions are designed to positively identify specific states. Many events will want a condition to confirm that a specific state is not occuring. To reverse the role of a positive condition, use the invert field.

If a condition is true, and the invert field is set, the condition will invert the true and return false.

If a condition is false, and the invert field is set, the condition will invert the false and return true.

Related

condition boolean condition delayed boolean condition days condition date range condition time range condition execute external condition sample condition running processes condition power assertions condition power state condition battery health condition power remaining condition sun condition user inactivity condition console user condition start up condition audio mute condition audio volume

Back to condition.