Statechart Checks : (C1023) Defined data elements that are used incorrectly

(C1023) Defined data elements that are used incorrectly

Elements contain expressions in which data-items that are explicitly defined to be of some data-type are used in a way that does not match the type consistency and conversion rules.
Error In:
Correctness
Example:
I is defined as an integer; S is defined as a string. There is an action that contains the following assignment:
I=S
Erroneous Elements:
States, transitions, events, conditions, data-items, and actions