Kaizen
Browse modulesFormsforms/serverFunctions

Function: collectConditionIds()

function collectConditionIds(node: ConditionLogicNode): string[];

Defined in: shared/forms/condition-evaluator.ts:106

Collect every condition_id referenced in a ConditionLogicNode tree. Used to pre-load just the conditions a step's outgoing transitions need, rather than fetching every condition in the org.

Parameters

ParameterType
nodeConditionLogicNode

Returns

string[]

On this page