Apache NiFi RecordPath Guide
Also available as:
PDF

contains

Returns true if a String value contains the provided substring, false otherwise

RecordPath

Return value

/name[contains(., 'o')]

John Doe

/name[contains(., 'x')]

<returns no results>

/name[contains( ../workAddress/state, /details/preferredState )]

John Doe