Skip to content

Flows

If / else

Tests one group of conditions.

The lead takes Yes when the group holds and No when it does not.

Type ifelse
Group Logic

An If / else or a Branch has no settings. Its tests are in the node’s “branches”: an array of objects, each {“id”: the exit’s id, “name”: a label, “match”: “all” or “any”, “conds”: an array of {“f”: a field, “op”: an operator, “v”: a value}}. An If / else has exactly one branch, with the id “yes”; its exits are “yes” and “no”. A Branch has one or more, each with an id of its own (not “else” or “no”); its exits are those ids, then “else”. A value for “is any of” is a list separated by commas. “is blank” and “is not blank” take no value. A yes or no field is tested against “yes” or “no”.

{
"id": "ifelse1",
"type": "ifelse",
"branches": [
{
"id": "yes",
"name": "Yes",
"match": "all",
"conds": [
{
"f": "sopro.headcount",
"op": "is less than",
"v": "11"
}
]
}
]
}