This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new e9f112e81ba NIFI-15810 Document missing RecordPath functions (#11132)
e9f112e81ba is described below

commit e9f112e81ba138e7f65c0f787cca91571cb36439
Author: Alaksiej Ščarbaty <[email protected]>
AuthorDate: Mon Apr 13 17:12:47 2026 +0200

    NIFI-15810 Document missing RecordPath functions (#11132)
---
 nifi-docs/src/main/asciidoc/record-path-guide.adoc | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/nifi-docs/src/main/asciidoc/record-path-guide.adoc 
b/nifi-docs/src/main/asciidoc/record-path-guide.adoc
index 97ea7ab268c..cd824b402e5 100644
--- a/nifi-docs/src/main/asciidoc/record-path-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/record-path-guide.adoc
@@ -446,6 +446,18 @@ and the replacement value. The replacement value may 
optionally use back-referen
 
 
 
+=== replaceNull
+
+Returns the value of the first argument when it is non-null. If the first 
argument evaluates to `null`, the function returns the replacement value.
+
+|==========================================================
+| RecordPath | Return value
+| `replaceNull( /details/vehicle, 'no vehicle' )` | no vehicle
+| `replaceNull( /name, 'default' )` | John Doe
+| `replaceNull( /details/vehicle, /name )` | John Doe
+|==========================================================
+
+
 === concat
 
 Concatenates all the arguments together.
@@ -1331,6 +1343,21 @@ Returns `true` if a String value contains the provided 
substring, `false` otherw
 
 
 
+=== containsRegex
+
+Evaluates a Regular Expression against the contents of a String value and 
returns `true` if the String value contains a substring
+that matches the Regular Expression, `false` otherwise.
+This function requires 2 arguments: the String to run the regular expression 
against, and the regular expression to run.
+
+|==============================================================================
+| RecordPath | Return value
+| `/name[containsRegex(., 'o[gh]n')]` | John Doe
+| `/name[containsRegex(., 'John')]` | John Doe
+| `/name[containsRegex(., 'o[xy]n')]` | <returns no results>
+|==============================================================================
+
+
+
 === matchesRegex
 
 Evaluates a Regular Expression against the contents of a String value and 
returns `true` if the Regular Expression

Reply via email to