Payload Validation Ignore List

Previous version

In versions prior to SP8, this feature was called: Xpath Exceptions (output msg)

USE:

For PI Outbound or PI Synchronous or PI Unit test, the output payloads after processing by middleware platform are validated against previously stored references. This configuration enables adding rules with exceptions that will allow for differences.

The rules for XML messages are defined in XPath language, and for non-XML content, the rules are defined in their syntax.

Since IFTT 2.7.1 it is possible to define rules for JSON messages using JSONPath.


Parameter nameDescriptionExample
DescriptionUser-defined description, just for displaying purpose

Order Date

Type

Expression type. Available options:

  • unspecified
  • XPath (X)
  • Flat expression (F)

This field is optional for all interfaces where there is a single type of output. However, for interfaces that output might be both XML and flat file, it is mandatory to specify the expression type.

X
XPath Expression 1

Path pointing to the field/node where the exception should be applied.

This expression might be both XPath syntax for working with XML files or Int4 Flat File Syntax for flat formats like, for example, EDIFACT or other flat formats.

//ORDER/DATE/text()  (XPATH expression) or

START_TAG(BGM+220+)&&END_TAG(+)&& (Flat file expression) or

$.order.date (JSONPath expression)

RuleRule to be applied to the field
  • Warning
Marks the compared fields with yellow color as a "warning".

W Warning

  • Warning when different based on variable replacement

In case compared values are different IFTT compares them with specified variable. If reference/current value pair from comparison matches variable values result is marked as "warning".

Variable name used for checking the values has to be specified in the Processing Parameter column


  • Warning when different based on value mapping object

In case compared values are different IFTT compares them with specified values in the Mapping Object. If reference/current value pair from comparison matches mapping values result is marked as "warning".

Mapping Object name used for checking the values has to be specified in the Processing Parameter column.

Mapping object and values are configured in /INT4/IFTT_IMG → Landscape configuration → Define Mapping Objects


  • Ignore

Even if it is different in the content, it is not highlighted.

 Ignore

More information about XPath and the examples are available on this page: XPath expressions.


© 2017 - 2022 Int4 AG All rights reserved