-
Model the matrix class.
Ensure the matrix class realizes an interface that implies ISPFDistributionMatrix.
-
Model the row class.
-
Define a relationship between the two primary interfaces of the matrix and matrix row classes as a specialization of SPFDistributionMatrixRow.
-
Model the row mapping.
-
Create an interface for the mapping properties. Make sure this interface implies the ISPFDistributionMapRow interface and is realized by the matrix row class.
-
Create the mapping properties – these will appear as columns in the matrix table.
-
Map these properties to the properties and/or relationships on the object that will be going down the workflow.
Multiple cardinality relationships can be used to map a workflow item to matrix rows. If the object in the workflow is related to two or more items by a row mapping relationship, then all the related rows will be selected when the matrix is evaluated, and users on each selected matrix row will be included as step recipients.
-
For the full schema diagrams for the transmittal matrices, see Default workflow templates.