ReferenceCondition
Evaluates to true when a document's reference matches a configured text expression.
Notes
Evaluates to true when a document's reference (URL or file path) matches a configured text expression. Used in importer flow control to route documents based on their source reference.
Usage
- YAML
- JSON
- XML
class: ReferenceCondition
label: string
valueMatcher:
ignoreCase: false
ignoreDiacritic: false
matchEmpty: false
method: BASIC
negateMatches: false
partial: false
pattern: string
replaceAll: false
trim: false
{
"class": "ReferenceCondition",
"label": "string",
"valueMatcher": {
"ignoreCase": false,
"ignoreDiacritic": false,
"matchEmpty": false,
"method": "BASIC",
"negateMatches": false,
"partial": false,
"pattern": "string",
"replaceAll": false,
"trim": false
}
}
<condition>
<class>ReferenceCondition</class>
<label>string</label>
<valueMatcher>
<ignoreCase>false</ignoreCase>
<ignoreDiacritic>false</ignoreDiacritic>
<matchEmpty>false</matchEmpty>
<method>BASIC</method>
<negateMatches>false</negateMatches>
<partial>false</partial>
<pattern>string</pattern>
<replaceAll>false</replaceAll>
<trim>false</trim>
</valueMatcher>
</condition>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
label | string | No | - |
valueMatcher | TextMatcher | No | TextMatcher |
Property Details
label
An optional, user-supplied label for this step in the importer pipeline. It has no effect on processing — it exists purely to help identify this step, for example in large configurations or in the visual configurator.
valueMatcher
Matches document field values based on specified patterns and methods. Use this to restrict the handler to operate only on fields whose values satisfy the matcher criteria.