Skip to main content

ControlConditionType

One condition of a control: a fact from the fixed catalogue, an operator and one value. Exactly one of number, text, list or flag is set.

type ControlConditionType {
fact: String!
flag: Boolean
list: [String!]
number: Float
op: String!
text: String
}

Fields​

ControlConditionType.fact ● String! non-null scalar​

The catalogue fact the condition tests.

ControlConditionType.flag ● Boolean scalar​

The value for a yes/no fact.

ControlConditionType.list ● [String!] list scalar​

The values for a choice fact compared with in.

ControlConditionType.number ● Float scalar​

The value for a money, percent or number fact.

ControlConditionType.op ● String! non-null scalar​

The operator: gt, gte, lt, eq, is, is_not or in.

ControlConditionType.text ● String scalar​

The value for a choice fact compared with is or is_not.

Member Of​

ControlPresetType object ● ControlRuleType object ● ControlTestConditionType object