
Processing Sequence of Procedures
Use
If an object has more than one procedure, you can define a processing sequence.
When you allocate a procedure to an object, you see a field for defining the point in the sequence when the procedure is processed.
The sort sequence only applies to the procedures for that object.

A configurable material has characteristics COLOR and PRESSURE. The following procedures are allocated to the configuration profile of the material.
0010 $SELF.COLOR = ‘GREEN’ IF PRESSURE >= 10
0020 $SELF.COLOR = ‘YELLOW’ IF PRESSURE >= 50
0030 $SELF.COLOR = ‘RED’ IF PRESSURE >= 100
The sort sequence ensures that pressure greater than or equal to 100 always sets the color ‘red’.
If procedures are assigned to characteristics and values, they are processed in the sequence of the characteristics and by sort field within a characteristic.
Before the procedures are processed, all procedure inferences for the current object are deleted.
See also:
Processing Sequence of Dependencies