The generated output from Process Synthesis does not differ from the types of output you obtain when you build from scratch or expand expected effects. For each elementary process, Process Synthesis creates the following information in various diagrams:
Note: For the best and most complete results, resolve all consistency check error messages pertaining to the Data Model before invoking Process Synthesis.
The five types of entity actions that you can generate through Process Synthesis are described next:
Creates an occurrence of the specified subject entity type. Also may create or read related entity types as specified in the dialogs that appear.
Retrieves an occurrence of the subject entity type and places its contents in an entity action view. Also may read related entity types, if identifying relationships are present.
Reads and then modifies an occurrence of the subject entity type. Also may read, associate, disassociate, or transfer related entity types as specified in the dialogs that appear. CA Gen generates all ASSOCIATE actions for any mandatory relationship when a CREATE action is added to the Action Diagram.
Reads and then removes occurrences of the subject entity type from the database. Also may read related entity types as specified in the dialogs that appear.
Reads each occurrence of the subject entity type.
The following example shows the results of Process Synthesis. The process Place New Part In Inventory could be expected to create, read, update, and delete entities of the type Stock of Product.
The following example lists the candidate processes generated in the Activity Hierarchy Diagram to perform the indicated activities, as well as the list activity (READ EACH).
Names of Generated Processes
CREATE_STOCK_OF_PRODUCT READ_STOCK_OF_PRODUCT UPDATE_STOCK_OF_PRODUCT DELETE_STOCK_OF_PRODUCT LIST_STOCK_OF_PRODUCT
The following illustration shows the new processes generated by Process Synthesis:

The following example shows part of the process logic and the views generated for Create Stock of Product. This code was generated at the same time the processes were created in the Activity Hierarchy. Process Synthesis also populates appropriate cells in the Elementary Process or the Entity Type Matrix.
Note: For more information about matrices, see the Analysis Tools Reference Guide.
Generated Process Logic
CREATE_STOCK_OF_PRODUCT IMPORTS:... EXPORTS:... LOCALS: ENTITY ACTIONS:... READ warehouse WHERE DESIRED warehouse name IS EQUAL TO input warehouse name WHEN successful MOVE warehouse TO output warehouse READ product WHERE DESIRED product number IS EQUAL TO input product number WHEN successful MOVE product TO output product CREATE stock_of_product ASSOCIATE WITH product WHICH is_inventoried_as IT ASSOCIATE WITH warehouse WHICH holds IT SET quantity_on_hand TO input stock_of_product quantity_on_hand SET color TO input stock_of_product color WHEN successful MOVE stock_of_product TO output stock_of_product WHEN already exists WHEN not found
|
Copyright © 2014 CA.
All rights reserved.
|
|