One way to add entity actions to the Action Diagram is to generate elementary processes using Process Synthesis. This activity creates views, expected effects, definition properties, and action statements in Process Action Diagrams and action blocks.
During Process Synthesis, you are prompted to specify a subject entity type against which to generate a process and associated logic. You can also specify that you want Process Synthesis to generate logic for any entity types related to the subject entity type.
For example, in addition to creating Customer, the generated Action Diagram for Create Customer might also include the logic for creating one or more Orders and associating them with Customer. This would be the case if the Data Model included the relationship Each Customer always places one or more Orders.
Similarly, if each Customer is either a Foreign Customer or Domestic Customer, CA Gen might also include the logic to check the Location attribute and update either Foreign Customer or Domestic Customer based on the result. By tracing all the relationships surrounding the entity type selected for Process Synthesis, CA Gen can automatically generate complex logic related to other entity types in the neighborhood of the subject entity type.
Process Synthesis generates the following actions, based on expected effects defined for an entity type and references to other entity types:
In Analysis, Process Synthesis is available in the Data Modeling tools, the Activity Hierarchy Diagram, the Activity Dependency Diagram, and the Action Diagram. In Design, Process Synthesis is available when you access an Action Diagram that does not contain action statements.
Process Synthesis can save you much time and effort in action diagramming. The generated Action Diagrams contain everything needed for elementary processes except the relevant business rules, which you must add.
|
Copyright © 2014 CA.
All rights reserved.
|
|