uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

9.2.1 Setting Breakpoints

To interrupt processing of the process instance in an activity, add the breakpoint in the activity to be interrupted. The added breakpoint changes, exports and imports criteria setting if required.

For the types of activities for which breakpoints can be set, see 9.5.1(1) Activities that can interrupt the processing of process instance.

Organization of this subsection
(1) Adding breakpoints
(2) Changing criteria setting of breakpoints
(3) Deleting breakpoints
(4) Disabling breakpoints
(5) Exporting and importing breakpoints

(1) Adding breakpoints

Two types of breakpoints exist-ordinary breakpoints and conditional breakpoints. If an ordinary breakpoint is added, the processing of the process instance is always interrupted when the process continues in the activity. If a conditional breakpoint is added, when the process continues in the activity and the conditional expression entered is fulfilled, (evaluation result is true), processing of the process instance is interrupted.

The following describes the procedure for adding ordinary breakpoints and conditional breakpoints in an activity.

(a) Adding ordinary breakpoints
  1. In the Business Process Definition screen, right click the activity in which the breakpoint is to be added and choose Add breakpoint.
    The breakpoint is added in the activity and a check expressing the breakpoint is added next to the activity. For details about the Business Process Definition screen, see Cosminexus Service Platform Reference.
(b) Adding conditional breakpoints
  1. In the Business Process Definition screen, right click the activity in which the breakpoint is to be added and choose Add conditional breakpoint.
    The Set criteria dialog box appears.
  2. Enter the conditional expression in XPath.#
  3. Click OK.
    The breakpoint is added in the activity and a check expressing the breakpoint is added next to the activity.
    When the process continues in the activity in which a breakpoint is added, if the conditional expression of the entered XPath is fulfilled (evaluation result is true), processing of the process instance is interrupted.

# If the conditional expression is not entered, the breakpoint is treated as an ordinary breakpoint.

(2) Changing criteria setting of breakpoints

You can change the interruption criteria if required for the ordinary and conditional breakpoints added.

The following describes the procedure for changing criteria setting of breakpoints.

  1. In the Business Process Definition screen, right click the activity in which the breakpoint is to be added and choose Change criteria.
    The Set criteria dialog box appears.
  2. Enter the conditional expression in XPath.#
  3. Click OK.
    Criteria setting of the breakpoint changes.
    When the process continues in the activity in which criteria setting of the breakpoint has changed, if the conditional expression of the entered XPath is fulfilled (evaluation result is true), processing of the process instance is interrupted.

# If the conditional expression is not entered, the breakpoint is treated as an ordinary breakpoint.

(3) Deleting breakpoints

In the Business Process Definition screen, right click the activity in which the breakpoint is to be deleted and choose Delete breakpoint. The target activity breakpoint is deleted.

(4) Disabling breakpoints

You can use standard functionalities of Eclipse for temporarily disabling from breakpoint view the breakpoint added in the activity.

For details about breakpoint view, see Cosminexus Service Platform Reference.

(5) Exporting and importing breakpoints

You can use standard functionalities of Eclipse for exporting the breakpoint added in the activity. You can also import the exported breakpoint.

For details about how to export and import see Eclipse documents.

Note
Before importing a breakpoint, breakpoints set in all activities must be deleted. If a breakpoint setting remains in an activity, breakpoints might not be imported normally.