uCosminexus Service Platform, Basic Development Guide

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

9.5.4 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.

Note
When debugging a business process, do not evaluate an XPath expression that contains linefeed code in the data. If you need to evaluate an XPath expression that contains linefeed code in the data, use the normalize-space() function in XPath to replace linefeed characters with single spaces before evaluating the XPath expression.

The following describes the procedure for evaluating XPath.

  1. In the Eclipse menu, choose Window, View display and Others.
    The View display dialog box appears.
  2. Choose Debug and Evaluate HCSC XPath and then click the OK button.
    HCSC XPath evaluation view appears. For details about HCSC XPath evaluation view, see Cosminexus Service Platform Reference.
  3. In Debug view, choose the business process activity for evaluating the conditional expression.
  4. Enter the XPath expression in the input field of HCSC XPath evaluation view and click Evaluate.
    The evaluation result for the XPath expression appears below the input field.