UpdateBoxFileMetadataInstance 2025.10.9.21

Bundle

org.apache.nifi | nifi-box-nar

Description

Updates metadata template values for a Box file using the record in the given flowFile. This record represents the desired end state of the template after the update. The processor will calculate the necessary changes (add/replace/remove) to transform the current metadata to the desired state. The input record should be a flat key-value object.

Tags

box, metadata, storage, templates, update

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Box Client ServiceController Service used to obtain a Box API connection.
File IDThe ID of the file for which to update metadata.
Record ReaderThe Record Reader to use for parsing the incoming data
Template KeyThe key of the metadata template to update.

Relationships

NameDescription
failureA FlowFile is routed to this relationship if an error occurs during metadata update.
file not foundFlowFiles for which the specified Box file was not found will be routed to this relationship.
successA FlowFile is routed to this relationship after metadata has been successfully updated.
template not foundFlowFiles for which the specified metadata template was not found will be routed to this relationship.

Writes attributes

NameDescription
box.idThe ID of the file whose metadata was updated
box.template.nameThe template name used for metadata update
box.template.scopeThe template scope used for metadata update
error.codeThe error code returned by Box
error.messageThe error message returned by Box

See also