The generated Action Diagram containing the list (READ EACH) action logic reads each occurrence of the subject entity type.
Because of the assumptions made in the targeting clause, the list action dialog is the most likely of the generated processes to require modification. However, it can serve as a template and is useful in generating views.
The following example shows a generated Process Action Diagram for LIST CUSTOMER.
LIST CUSTOMER Generate Process Action Diagram
LIST_CUSTOMER EXPORTS: Group View group_export ENTITY ACTIONS: Entity View customer READ EACH customer TARGETING presented FROM THE BEGINNING UNTIL FULL MOVE customer TO output customer
The export and entity action views are views of the subject entity type.
The MOVE statement moves the input view to the output view. This move preserves user input in case the process fails to execute successfully.
The TARGETING clause specifies a repeating group export view that is populated each time the READ EACH performs an iteration. After each iteration that moves an entity type view subordinate to the repeating group view, the Action Diagram primes the repeating group view to accept the next entity type view subordinate.
The UNTIL FULL clause causes the READ EACH process to terminate if it attempts to add more occurrences to the repeating group view than were specified as the maximum cardinality of the group view.
Note: Process Synthesis gives the group view a default maximum cardinality equal to the maximum occurrences specified in the entity type properties (in the Data Model) or a value of 10 if maximum occurrence was never specified.
|
Copyright © 2014 CA.
All rights reserved.
|
|