When checking or saving the Document Definition in FlexiCapture 12 project, the check is not succeed and the Document Definition becomes invalid with the error as below:
There is a cycle in the form calculation dependency graph. Calculation cannot be performed. See "Rules_Chain_1", "Rules_Chain_2".
The rule chains specified in the error message contain rules affecting the same fields, which brings the potential risk of endless loop with the rules execution and forbidden in FlexiCapture 12 by design.
Possible resolution approaches are as follows:
- Reorder the rule chains to avoid using or affecting the same fields. For example, move the rules from the chain "Rules_Chain_2" to the chain "Rules_Chain_1".
- Edit the affected rules in the rule chains to avoid referencing or affecting the fields that are controlled by the conflicting rule chain.