FAQs - GeneXus Core course (v18)

Error in global formula: reference to the same attribute to which the formula is associated: Formula XXX (directly or indirectly) references itself

Sometimes we are defining a global formula and by mistake we add to the formula the same attribute to which we are assigning it, it is saved without problem but when executed it sends an error in the execution.


Solution:

The error is resolved by opening the transaction that presents the problem and updating the formula by removing the attribute to which it is assigned and putting the correct attribute.