Statechart Checks : (C2081) Elements containing triggers that use functions with potential side effects

(C2081) Elements containing triggers that use functions with potential side effects

There are functions used in the trigger part of labels, static- reactions, or mini-specs that have side-effects (they affect global data).
Error In:
Completeness
Example:
activity A1 Function F1 accessing global data,
used in trigger: [Y==F1(X)]
Erroneous Elements:
States, activities, and transitions