NiFi Ingest 25.3
NiFi Ingest

# UpdateAttributeFromMetadata

A processor that adds or updates a FlowFile attribute based on the value of a document metadata field or document metadata field attribute.

It can be useful to extract values from the document metadata and add them to the FlowFile as FlowFile attributes so that they can be referenced using NiFi expression language and used to customize the configuration of a downstream processor.

## Properties

Name | Description
--- | ---
FlowFile_attribute_to_set | Add as many properties as you require. The name of each property you add specifies the FlowFile attribute to add or update. The value of each property must be an XPath expression, to choose the document metadata field or document metadata field attribute to use to set the value of the FlowFile attribute. If the XPath expression results in a match, the target FlowFile attribute is added (or updated if it already exists). If the XPath expression results in multiple matches, the first is used and the others are ignored. If your XPath expression matches a field that has subfields, the field values are concatenated (the structure and field names are not preserved when the FlowFile attribute is set).

## Relationships

Name | Description
--- | ---
success | FlowFiles that were processed successfully.
failure | FlowFiles that were not processed successfully.

Copyright 2018-2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 25.3

Topic Title: UpdateAttributeFromMetadata