Runtime Pattern Associationsscreen. This uses a diagram to try and make the connections as clear as possible, and should look similar to the following example.
It is important to remember when using this page that we are only ever seeing all the connections for one runtime pattern. This will be referred to as the mainruntime pattern, and will be relatively central on the page, and highlighted with a bigger picture and a blue border. When this page is loaded from the project screen, the
mainruntime pattern will be that clicked on the project screen. The image shows all the connections (or associations) between the
mainruntime pattern and any other runtime patterns in the project. The direction of the arrow indicates the direction of the association. Each association specifies the possibility of the source runtime pattern being able to call the target runtime pattern at runtime. This service call will only definitely happen once it has also been defined as a rule in the source logicsheet. Each association specifies the link further by defining the source and target nodes, as well as the target action for the link. It is therefore possible to have multiple associations between the same two runtime patterns. In most cases you will find that these associations get added automatically as needed, as you are using other areas of the studio, eg inserting
Invoke Servicerule actions.
Depending on the value of the 'Single Click Action', clicking on a runtime pattern (other than the 'main' one) will perform one of two tasks.
If the action is Navigate, then clicking on a runtime pattern will change that to be the
The mainpattern, and the diagram will be redrawn accordingly. If the action is View Association, clicking a runtime pattern will show all of the associations between the
mainruntime pattern and the one that was clicked on. Clicking anywhere on the background will return to the default view.
mainruntime pattern for which all the connections are shown can also be changed by selecting the new runtime pattern in the drop-down list at the top of the page, and click the
Showbutton. This will redraw the image with the selected runtime pattern at the centre, and so can be used to show patterns that are not currently visible on the diagram.
If you do need to manually create an association for any reason, there are two different ways to create one, depending on whether there is already an association between the two runtime patterns or not:
If the target runtime pattern is not currently associated with the
To edit the details for an association, we need to select the relevant association. To do this we first need to select the runtime pattern involved in the association (not the mainruntime pattern, we create a new association by selecting the target runtime pattern in the select drop-down at the top of the page, and click
Include. This will create a new link from the current
mainruntime pattern to the selected runtime pattern, and show the association details screen for the specifics to be entered. This screen is described in the next section If there is already an association between the two runtime patterns, we create a new association from the
mainruntime pattern by selecting the target runtime pattern (single-click its icon in
View Associationmode) and clicking
New Associationat the bottom of the page. As with the other method, this will create a new link and show the Association screen for the details to be entered.
mainruntime pattern) by clicking on it in
View Associationmode. This will show all of the associations between the two runtime patterns. We then need to double-click on one of the circles at either end of the association in question. This will show the Association screen for us to edit the details.
It is also possible to delete associations, and again there are two options:
To delete a single association, we need to select it as described above, but we only single-click the association rather than double-click. This will highlight it in red. Clicking the
Double-clicking on any runtime pattern will take us to the Delete Associationbutton at the bottom of the screen will remove the selected connection. To delete all of the associations between the
mainruntime pattern and another runtime pattern, select the runtime pattern by clicking it (in
View Associationmode), and click the
Delete associationbutton.
Runtime Pattern Viewerpage to show the structure of the runtime pattern. This is equivalent to selecting a runtime pattern from the runtime pattern listing page.