uCosminexus Service Platform, Basic Development Guide
This is the activity for validating the correctness of message sent and received in business processes. It is used to validate whether the message sent and received with external by receive activity or invoke service activity match with the schema of corresponding allocation variable.
Describe the details on validate activity, in the validation activity dialog.
Definition procedure is as follows:
If validation result is invalid, you can send following types of faults.
For details on how to select the fault to be sent, see "4.7.1 Overview of general fault to transform the system exception to fault" in the manual "Service Platform Function Guide".
Settings required for fault process are as follows:
When fault occurs in the validate activity, process is switched depending on the allocation of fault process, which has been set in the scope activity to which the validate activity belongs. If fault process allocation has not been set, fault exception occurs.
Storage destination of the schema file for defining the validate activity specific fault message is as follows:
<Service Platform installation directory>\CSC\system\msg\cscvalidatefault.xsd
Schema file for defining the validate activity specific fault message to be used in allocation of fault process of the scope activity to which validate activity belongs, is shown in the following snippet. For details on schema file of general fault, see "7.12.1 Schema file that defines the general fault message" in the manual "Service Platform System Setup and Operation Guide".
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT THIS FILE. --> <xs:schema elementFormDefault="qualified" targetNamespace="http://www.msg.csc.soft.Hitachi.co.jp/cscBpValidate" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="fault"> <xs:complexType> <xs:sequence> <xs:element name="exception-name" type="xs:string"/> <xs:element name="exception-message" type="xs:string"/> <xs:element name="scope-name" type="xs:string"/> <xs:element name="activity-name" type="xs:string"/> <xs:element name="variable-name" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> |
Configurable elements are as follows:
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.