Name
condition delayed boolean, conditiondelayedboolean, kPMConditionConditionDelayedBoolean — A delayed constant condition.
Synopsis
condition delayed boolean structure { invert, type, can perform };
invert : boolean, default, optional |
type : string, choice |
can perform : boolean, default |
Description
A delayed constant condition.
Used for testing compound conditions. There is no reason to use this condition in deployed events. Where a constant condition is required, use the immediate edition of this condition, condition boolean.
A delayed condition is one that does not respond immediately. The engine performs conditions in an optimised order to avoid testing expensive conditions; a delayed condition is expensive.
Fields
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.
invert
is a boolean. If invert
is omitted, the default false
is used. invert
is optional.
type. Type of condition to test.
type
is a string. type
must be delayed boolean, kPMConditionType_DelayedBoolean
.
can perform. Condition immediately resolves to this value.
If can perform is true, the condition immediately resolves to true.
If can perform is false, the condition immediately resolves to false.
can perform
is a boolean. If can perform
is omitted, the default true
is used.