Statechart Checks : (C1061) Elements using field references that do not appear in the record/union definition

(C1061) Elements using field references that do not appear in the record/union definition

Elements contain expressions in which a field of an explicitly defined record or union is used, but the field does not appear in the record or union definition.
Error In:
Correctness
Erroneous elements:
States, transitions, and textual elements