Testing a Decision service (deprecated)
Traditional:
When you have finished creating a Decision service and authoring rules in a rule component, such as a BAL Rule component, you can test the Decision service to determine if the rules are being applied as you intended. If an error or exception occurs within a rule, you will see messages about the error during testing, and you can debug the specific rule component or rule that caused the error.
When you have finished creating a Decision service and authoring rules in a rule component, such as a BAL Rule component, you can test the Decision service to determine if the rules are being applied as you intended. If an error or exception occurs within a rule, you will see messages about the error during testing, and you can debug the specific rule component or rule that caused the error.
Before you begin
To perform this task, you must be in the IBM® Process Designer desktop editor, which is deprecated.
About this task
Procedure
To test a Decision service, complete these steps:
- Open the desktop Process Designer (deprecated).
- Open a process application that contains a business process definition (BPD) with a Decision service you want to test.
- Open the BPD and click to select the activity or decision gateway in the business process that has the Decision service associated with it.
- Set a breakpoint in the activity. Set breakpoints at specific locations in the process where you want the process flow to pause during testing so that you can determine the status of the process, and identify any errors that might have occurred.
- Click the Decision service name to open the rules in the rule editor.
- Click the Run service icon
in the banner above the rule editor.
- When Process Designer prompts
you to change to the Inspector interface, click Yes.
The Inspector displays red tokens both in the BPD diagram and the execution step tree, which provides a hierarchical view of the execution state, showing the step that is currently running in the active process instance.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-01-20 10:38