<< Click to Display Table of Contents >> Navigation: Library > Models and Options > Mapping Models and Options to Activities > Manual Model Option Mapping > Mapping via the Activity |
To map models and options to activities in the Activity Editor, the activity and its operation need to be checked out. After checking out the activity and operation, go to the activity's Model-Option Mapping Tab.
In the Model-Option Mapping Tab, the split screen provides a row for each model and each option mapped to the activity. To add models or options, select the appropriate button from the bottom right of the screen -- either "Add Model" or "Add Option". These buttons will bring up a search of the respective library. Select one or multiple models or options from the list and then click "Add". The selections will be added to the activity.
Model Option Mapping Tab for the Activity Editor
An Option Rule can be created for different activities. Once you hit the "Edit Option Rule," the window below will appear. The "Add as OR Rule" is used if you have multiple options but do not have to necessarily be together in assembly. Make sure to highlight the options that will go with the Add as OR Rule and then select the button. Those options should appear under the Option Rule box. You can use "Add as AND Rule" to add options that must be added with the other options. Make sure to highlight the options that will go with the Add as AND Rule and then select the button. Those options should appear under the Option Rule box. Rules can be created manually if desired. Parentheses, commas, and ampersands (&) can be used to create a rule. For an OR rule separate the options by commas, (1,2,3). The AND rule needs use ampersands (&) to separate the options (1&2&3).
Option Rule Builder
Once the rule has been created, hit the OK button. If there is something wrong with your Option Rule, an error will pop up and give you directions to correct the rule. The error was thrown because you cannot have an AND Rule with multiple options from the same Option Group.
Option Rule Error
After the Option Rule has been created, the Add Option button will be locked. Options can not be added or removed unless the Option Rule is cleared from the activity. To clear the option rule, go back into the Option Rule Builder and clear the contents of the Option Rule and hit "OK". After this is complete, options will be allowed to be added to the Option List.
Add Option Locked
You can also manually type in Model IDs and Options IDs into any blank cell in the appropriate list. When you save, there will be a system check to validate the models and options existence in the Model or Option Editors. If a model or option does not exist, you will not be allowed to save the data. You will need to go to the Model or Option Editor, add the desired IDs, and return to the activity Model-Option Mapping tab to complete the mapping.
If you do not see the Model-Option Mapping Tab, check the Activity List search parameters to make sure you have included the routing. Model-Option Mapping is a local property of any activity; it is dependent on the relationship between the activity and parent processes. If you have not included a routing in your search, you are looking at the global copy of the activity, which has no parent relationships. Add the routing as a search parameter, re-select the activity, and you will see the Model-Option Mapping Tab. A further description of global and local properties can be found in the Global vs. Local Properties section of this manual.