Skip to main content

Cyclic Dependency Errors

A cyclic dependency occurs when two or more components depend on each other, either directly or indirectly, creating a loop. This page provides information on cyclic dependencies, and how to identify and resolve them.

Using Table properties in column validation

Cyclic dependency found while evaluating. Node was: Table1.primaryColumns.created_at.validation

Cause

This error occurs when you try to use a Table widget's property inside the Table column validation. For example, using Table1.updatedRow inside the column validation property creates a cyclic dependency. This means that the validation logic relies on a property that is itself dependent on the result of the validation, causing an infinite loop of dependencies.

//Cyclic Dependency:
{{Table1.updatedRow.created_at}}

Solution

To resolve this issue, use {{currentRow.name}} in the Table column validation property instead of Table1.updatedRow or Table1.newRow.

Example:

//No Cyclic Dependency:
{{currentRow.created_at}}