Scenario 1) We would like to automatically add Matrix Relationships to a Position, so the Related Position can be filled in by the Position creator. This is so the user creating the Position does not forget to add the Matrix Relationships
Scenario 2) We would like automatically add Matrix Relationships to a Position, where one of the Types "Related Position" is defaulted to a specific Position.
Employee Central 2.0
EC Position Management
Currently there is a defect preventing you from using such a rule with an onInit trigger. Please refer to article 2420087 - ERROR: "Related Position is a required field/association in Object Matrix Position For Position." when trying to use onInit rules to create Matrix Position row for more information
The current work-around is to create the rule a little differently and then assign it as an onChange rule to a Required field (preferably one that will be used when creating/updating a Position). The rule itself can be created as per the below example, where you want to add 1 or more Matrix Position when creating/maintaining a Position, as well as to ensure that if 1 of the Matrix Relationship rows is deleted that the rule will add the row back again when triggered. You may want to create an extra onSave rule to validate that the required Matrix Positions have been added to prevent the Position from saving if a Matrix Position Type is missing from the Position.
Example Rule for onChange scenario:
Matrix Relationship, Matrix Position, Position Management, Employee Central, EC, onInit, Rule , KBA , LOD-SF-EC-POS , Position Management , How To