Skip to main content
Validate connectors perform an XML or message header validation step in order to catch invalid XML or message headers before they cause an error later in the flow.

Key Capabilities

  • XML and message header validation using configurable rules and conditions
  • XPath-based validation for XML content with sample file support for rule creation
  • Data type validation for strings, numbers, and DateTime values
  • Group-based rule organization with complex logical conditions (AND/OR)

Overview

Validate connectors are configured with one or more rules that determine whether input XML or message headers are considered valid. Valid input successfully passes through the connector, while XML files or message headers that fail validation throw an error and are not passed along in the flow. For each configured rule, the connector checks the value from the input XML or message header against the target value to see if it is considered valid. See Rules Tab for details.

Connector Configuration

This section contains all of the configurable connector properties.

Rules Tab

Add and configure rules and groups of rules. Input XML and message headers are considered valid if they conform to all of the configured rules. You can build complex validations by defining individual rules and/or groups of rules. To add a validation rule, click Add Rule or Add Group. When you build your rules, use the dropdowns to make your selections and choose your operator. You can choose from the following:
  • Input XML
    • Value: The value at the XPath being evaluated
    • Data Type: The data type of the value (String, Number, DateTime)
    • Occurrences: The number of times the XPath occurs in the document
  • Message Header
    • Value: The value of the message header being evaluated
    • Data Type: The data type of the value (String, Number, DateTime)
When you select an XPath for a rule, if you have uploaded a sample file, the editor displays a tree representation of the document so you can easily find the XPath you need, as shown in the image below. You can reorder rules and groups. Click the handle handle and drag the object to a new location. Input XML is only considered valid if all validation rules (or groups of rules) are satisfied. If the XPath configured in a rule is not found in the input XML, the validation automatically fails. In other words, if the connector is unable to read a value for a rule’s XPath, the input file does not pass the rule.

Settings Tab

Connector Settings

設定説明
Connector Idコネクタの静的で一意の識別子です。
Connector Typeコネクタ名とその機能の説明を表示します。
Connector Descriptionコネクタおよびフロー内でのその役割について自由形式の説明を提供するためのオプションフィールドです。

Advanced Tab

Message

Message 設定は、コネクタがメッセージを検索する方法と、処理後にメッセージを管理する方法を決定します。

Note: 以下の設定は非推奨となり、デフォルトで非表示になっています。以前に有効化またはデフォルト以外の値に設定されていたコネクタにのみ表示されます。処理済みファイルのコピーを保持するには、フロー内のコネクタを右クリックし、成功パスを表示を選択して、成功パスをFile コネクタに接続してください。

設定説明
Sent フォルダに保存(非推奨)コネクタが処理したファイルをSent フォルダにコピーします。デフォルトで無効です。Sent フォルダに保存されたファイルは保存データの暗号化の対象外です。
Sent フォルダのスキーム(非推奨)選択した時間間隔でSent フォルダ内のファイルをグループ化します。Sent フォルダに保存が有効な場合のみ適用されます。

Logging

ログの作成と保存を制御する設定です。

設定説明
Log Levelコネクタが生成するログの詳細度です。サポートを依頼する際は、これをDebug に設定してください。
Log Subfolder Scheme選択した間隔に従って、コネクタがLogs フォルダ内のファイルをグループ化するよう指示します。Weekly オプション(デフォルト)は、コネクタが毎週新しいサブフォルダを作成し、その週のすべてのログをそのフォルダに保存するよう指示します。この設定を空白のままにすると、コネクタはすべてのログをLogs フォルダに直接保存します。多数のトランザクションを処理するコネクタでは、サブフォルダを使用することでログを整理しやすくなり、パフォーマンスが向上します。
Log Messages処理したファイルのログエントリにファイル自体のコピーを含めるには、これをオンにします。これを無効にすると、Transactions タブからファイルのコピーをダウンロードできなくなる場合があります。

Other Settings

Miscellaneous

Miscellaneous 設定は、特定のユースケース向けの設定です。

設定説明
Other Settings非表示のコネクタ設定をセミコロン区切りのリストで設定できます(例:setting1=value1;setting2=value2)。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。

Automation Tab

Settings related to the automatic processing of files by the connector.

Performance

コネクタへのリソースの割り当てに関する設定です。

設定説明
Max Workersこのコネクタでファイルを処理するためにスレッドプールから消費されるワーカースレッドの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。
Max Filesコネクタに割り当てられた各スレッドが送信するファイルの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。

Alerts Tab

SLAs Tab