Statechart and Activity Chart Relation Checks : (C7215) Elements affected and used in the statechart but are neither input nor output

(C7215) Elements affected and used in the statechart but are neither input nor output

Error In:
Completeness
Description:
Elements are affected in actions and are used in the statechart (for example, in triggers), but are defined outside the statechart (in an ancestor activity chart) and do not flow into or from the control activity described by the statechart.
Erroneous Elements:
Events, conditions, and data-items