uCosminexus Service Platform, Basic Development Guide
(1) Preparing for debugging of business processes
Implement the following to prepare for debugging of the business process.
- Set breakpoints
To interrupt processing of the process instance in any activity, set a breakpoint in the activity.
For setting breakpoints, see 9.2.1 Setting Breakpoints.
- Set service emulation
To use a created message instead of the response message for actually invoking the service, set service emulation.
For setting service emulation, see 9.2.2 Setting Service Emulation.
(2) Starting debugging of business processes
(3) Sending requests
Use the service requester and service requester emulation for sending requests to the receive activity. Once the request is sent, processing of the process instance continues till the activity for which a breakpoint is set and then processing of the process instance is automatically interrupted.
For sending requests, see 9.4 Sending requests.
(4) Debugging business processes
Implement the following for debugging the business process.
- Executing steps and restarting
You can continue sequential processes while processing of the process instance in activity units is interrupted. You can execute them while processing of the process instance is interrupted.
For the method for executing steps and restarting, see 9.5.1 Step-by-Step Execution and Restarting.
- Checking variables and correlation sets
Check the variable and correlation set used in the business process. You can execute while processing of the process instance is interrupted.
For the method for checking variables and correlation sets, see 9.5.2 Checking Variables and Correlation Sets.
- Updating variables
Change the value of the variable used in the business process and reflect it in the business process. You can execute while processing of the process instance is interrupted.
For the method for updating variables, see 9.5.3 Updating Variables.
- Evaluating XPath
You can evaluate the validity of the conditional expression specified in the switch and assign activities and see a part of the variable values. You can execute while processing of the process instance is interrupted.
For the method for evaluating XPath, see 9.5.4 Evaluating XPath.
- Service emulation (automatic/manual)
Use the set response message instead of the service response message.
For the method for executing automatic service emulation, see 9.5.5 Automatic Service Emulation. For the method for executing manual service emulation, see 9.5.6 Manual Service Emulation.
(5) Ending debugging of business processes
Debugging of the business process ends when the business process is redefined and its operations are checked.
For the method for ending debugging of the business process, see 9.6 Ending Debugging of Business Processes.
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.