Testing Callable Objects

Use

The Guided Procedures (GP) framework enables you to test your standalone callable objects before even activating them. By testing them, you can see how they are going to be executed in a process, and can detect any possible problems or errors in their definition.

Prerequisites

You have permissions to work with GP design time. For more information, see Authorizations .

Procedure

  1. In the gallery, select the callable object that you want to test, and choose Open… to open its design time.
  2. Go to the Test tab page.

    You can add a callable object of the above-listed types to a process and start the process in the runtime to check whether the callable object is properly executed.

  3. If the callable object defines required input parameters, enter values for them.
  4. Choose whether you want to test the object in execution or in display mode.
  5. Choose Execute.

    If the application has a user interface, it is displayed in the Callable Object Execution step. To display the test results for callable objects with user interface, choose Complete Step.

    This step is not available if the callable object is executed in the background, and test results are displayed directly.

Result

If the result of the callable object test is Successful completion, you can activate the object and make it available for use in actions.

If the result indicates an error, you should check the Application Server (AS) Java log files for more information about the problem.