Skip to content

Variable: WorkflowCompoundConditionSchema ​

ts
const WorkflowCompoundConditionSchema: ZodObject<{
  conditions: ZodArray<ZodType<WorkflowCondition, WorkflowConditionInput, $ZodTypeInternals<WorkflowCondition, WorkflowConditionInput>>>;
  nodeType: ZodEnum<{
     compound: "compound";
  }>;
  operator: ZodCustom<string & object | "AND" | "OR", string & object | "AND" | "OR">;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/workflowCompoundCondition.ts:23

A compound workflow transition rule condition. This object returns nodeType as compound.