Previous Topic: A Reason NOT to Use VersionsNext Topic: Accessing the Session List


Using Versions to Update an Existing Function

Following are the steps needed to update and test changes for a working external function using CA 2E’s versioning feature. You will use this process to add an action to the action diagram for the Edit Horse function.

  1. Create a version of the function you want to change.
  2. Edit the version.
  3. For an external function, generate the source and create the program object for the version.

    Note: Internal functions and messages do not result in separate program objects. As a result, the testing process for them is more complex and beyond the scope of this tutorial. Refer to the CA 2E module, Generating and Implementing Applications, for more information.

  4. Test the version by calling the program object.
  5. When you are satisfied that the version works properly, make the version current.
  6. If errors occur, make the original function current again.