Previous Topic: Lesson ActivityNext Topic: Open the ADD GOLFER Action Diagram


Add the Process Logic to ADD GOLFER

Before entering the process logic into the model, perform the Process Logic Analysis (PLA). For relatively simple action diagrams, perform PLA mentally. For complex diagrams, perform PLA by writing on printout of the relevant portion of your data model. Try performing the Process Logic Analysis for this process yourself, using the following outline before comparing your answers to the ones we suggested.

  1. What is the primary entity type that is the focus of the ADD GOLFER process ?

    ___________________________________________________________

  2. What is the entity action to take on this entity type?

    ___________________________________________________________

  3. Walking the neighborhood, are there any other entity types or actions required of this process?

    ___________________________________________________________

    ___________________________________________________________

  4. Sequence the actions.

    ___________________________________________________________

    ___________________________________________________________

  5. Determine the selection criteria.

    ___________________________________________________________

    ___________________________________________________________

Now, look at our suggested answers:

  1. What is the primary entity type that is the focus of the process ADD GOLFER?

    GOLFER

  2. What is the entity action to take on this entity type?

    CREATE

  3. Walking the neighborhood, are there any other entity types or actions required of this process?

    GOLFER has an optional relationship to SCORING RECORD. In other words, according to the data model, golfers can exist without any scoring records. Scoring Records are important, but they are not important to this process. So there are no other actions or entity types required.

  4. Sequence the actions.

    Since there is only one action, sequencing it is easy. The first (and last) thing we will do is create an occurrence of GOLFER.

  5. Determine the selection criteria

    In this particular instance, we do not need to select a golfer; we are creating a golfer. So there are no selection criteria.

Now we can add the process logic to the ADD GOLFER process action diagram.