Activity Chart Checks : (C4097) Elements containing triggers that use functions with potential side effects

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

Error In:
Completeness
Description:
Functions are used in the trigger part of labels, static reactions, or mini-specs and have side effects (that is, they affect global data).
Format:
<element name>
Function <function name> accessing global data, used in trigger: <trigger expression>
 
Example:
Activity A1 has the following mini-spec, where F1 is a function returning an integer that accesses global data (through Globals Usage in the properties):

EV and [F1(X)==6]/Y=4

 

 

Erroneous Elements:
States, activities, and transitions