GetBoxFileCollaborators 2025.10.9.21

Bundle

org.apache.nifi | nifi-box-nar

Description

Retrieves all collaborators on a Box file and adds the collaboration information to the FlowFile’s attributes.

Tags

box, collaboration, permissions, sharing, storage

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 Box file to retrieve collaborators for
RolesA comma-separated list of collaboration roles to retrieve. Available roles: editor, viewer, previewer, uploader, previewer uploader, viewer uploader, co-owner, owner. If not specified, no filtering by role will be applied.
StatusesA comma-separated list of collaboration statuses to retrieve. Available statuses: accepted, pending, rejected. If not specified, no filtering by status will be applied.

Relationships

NameDescription
failureFlowFiles that encounter errors during processing will be routed to this relationship
not.foundFlowFiles for which the specified Box file was not found
successFlowFiles that have been successfully processed will be routed to this relationship

Writes attributes

NameDescription
box.idThe id of the file
box.collaborations.<status>.users.idsComma-separated list of user collaborator IDs by status
box.collaborations.<status>.groups.idsComma-separated list of group collaborator IDs by status
box.collaborations.<status>.users.emailsComma-separated list of user collaborator emails by status
box.collaborations.<status>.groups.emailsComma-separated list of group collaborator emails by status
box.collaborations.<status>.<role>.users.idsComma-separated list of user collaborator IDs by status and role. Only present when both Roles and Statuses properties are set.
box.collaborations.<status>.<role>.users.loginsComma-separated list of user collaborator logins by status and role. Only present when both Roles and Statuses properties are set.
box.collaborations.<status>.<role>.groups.idsComma-separated list of group collaborator IDs by status and role. Only present when both Roles and Statuses properties are set.
box.collaborations.<status>.<role>.groups.emailsComma-separated list of group collaborator emails by status and role. Only present when both Roles and Statuses properties are set.
box.collaborations.countTotal number of collaborations on the file
error.codeThe error code returned by Box
error.messageThe error message returned by Box

See also