Conditions determine which path of a control flow is passed.
Data types
The Data type attribute of the ERM attribute determines which operator can be used for the has as output connection. This connection leads from the function to the ERM attribute. Only the Text, Floating point number, Integer, and Boolean data types are relevant to the simulation. Boolean stands for the decision Yes (1) or No (0).
The following applies to the operators of the has as output connection:
The comparison values of events that follow OR or XOR rules and are connected with an occurrence copy of the corresponding ERM attribute must match the ERM attribute's data type. For example, it does not make sense to use the Text data type and to check in the event following the OR or XOR rule whether the text is greater (>) than that specified in the ERM attribute. If you want to compare two conditions (ERM attributes) of a function, specify the Operand position attribute for both is compared to connections.
Modeling with an ERM attribute
Use an ERM attribute to control the progress of a process folder. The value resulting obtained during the simulation run is compared with the predefined value of the ERM attribute. This requires that an event directly follows a rule in each path. A rule is activated under the following conditions:
If these conditions are met, the event is activated and the process folder is forwarded to the next control flow object. If not, the process folder waits at the rule.
Modeling with two ERM attributes
The progress of a process folder can be controlled using two ERM attributes: the value obtained during the simulation run is compared with the predefined values of two ERM attributes. The order in which the ERM attributes are checked is specified in the process. This requires that an event directly follows a rule in each path. A rule is activated under the following conditions:
If these conditions are met, the event is activated and the process folder is forwarded to the next control flow object. If not, the process folder waits at the rule.