Associative Model Networks and Workflows ######################################## Associative Model Networks and Workflows **************************************** This page describes the differences between Associative Model Networks [AMN] and Workflows. It explains why the AMN is used as the primary information stored by the Business Object Model, and how the workflow is an alternative view of this information. .. note:: An AMN is represented by an image of three connected models .. figure:: /objects/images/AMN_4x3.png :scale: 100% AMN icon ========================================== Associative Model Network [AMN] Definition ========================================== An AMN is a container that identifies the elements that together comprise a set of "results" for a study (see |Study Management| for more details on studies). It includes the audit-trail of what is to be done, and what has been done. Each element in the AMN has an understanding of its dependencies (what it is derived from), and so it makes up a network of associative models. The primary focus is on the product information. =================== Workflow Definition =================== A workflow shows how information flows through processes. For each process step it records the inputs and the outputs. It also can include some sequencing information. The primary focus is on the process information. ====================================================== Advantages of using the AMN as the primary information ====================================================== An Associative Model network uses a |model based| approach, and the advantages are: * The process elements do not have to be specified. Sometimes these are not known (e.g. for new development, or for a process that is informal or not automated), and only the model dependency needs to be recorded. * The information for a model dependency is "owned" by the model, (i.e. the relationships are from the model to the inputs, not from the inputs to the model). This means the owner of the model is in control of its dependencies. * There can be a choice of process elements, and these can be switched without disrupting the network view. * The resultant network is a set of product information with dependency audit trail which can directly be used for archiving The information surrounding the elements in an AMN implies a process flow, so a workflow could be visualized from the information. This is illustrated below with images from the |Very Simple Example|. .. figure:: /objects/images/vse_xls_defln_amn.png :scale: 100% Part of an AMN surrounding a single element .. figure:: /objects/images/vse_xls_defln_workflow.png :scale: 100% Workflow view for the same element .. note:: The network views are a simplification, and do not show all the elements needed to define an Associative Model Network An example including all the elements is shown at the end of this page. Sometimes however specific sequencing instructions are needed (e.g. do not execute two specific processes at the same time). These are added to the AMN as a sequence element. .. rst-class:: expand ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Click for a representation using Business Object Model classes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This shows the elements that "belongTo" an AMN, and the types that they are an "instanceOf". The method is identified as a "PlannedMethod" for the Model Instance. The dependency is seen by the ModelInstanceIsDerivedFrom classes. .. figure:: /objects/images/vse_ea_just_defln_from_amn1.png :scale: 100% Part of an Associative Model Network concerned with on model This shows the data flow for the model instance. Several relationships have been hidden for clarity. There are relationships between the ModelInstanceIsDerivedFrom and the ModelInstanceDataFlow classes, which is why they need to be classes not simple relationships. .. figure:: /objects/images/vse_ea_just_defln_workflow_from_amn1.png :scale: 100% Data flow view for the same model .. note:: There are classes between the instances and types rather than direct relationships. This is because the link between needs to be referenced when the data flows are identified, therefore the link cannot be a simple relationship and must be a class. .. sectionauthor:: |Judith Crockford| .. include:: /objects/documents/main/Keywords.rst