Previous Topic: Add the Process Logic Using Action Block SynthesisNext Topic: Add the Process Logic to UPDATE SCORING RECORD


Edit Action Diagram

While the synthesized action diagram is pretty close to what we wanted, we still need to make some changes to it. First, since all of the attributes are set from import views, and no new values are created from within the action diagram, it is not necessary to export anything. Therefore, we want to delete the export views. However, before we can delete any views, we must first delete the action diagram statements that reference them.

Follow these steps:

  1. Under the WHEN successful for the read of golfer, delete the MOVE golfer TO export golfer statement.
  2. Under the WHEN successful for the create of scoring record, delete the MOVE scoring record TO export scoring record statement. Now delete the export views.
  3. Mark The attribute view note in the import view as optional.

    The completed action diagram should look like the following example. Note that the new exit-state-values were created for Scoring Record.

    Edit Action Diagram