Skip to main content

GetFileSystemContent@1

Node GetFileSystemContent@1 reads the binary content of a System.Reporting/FileSystemItem back into the pipeline as a base64 string. It is the read counterpart of CreateFileSystemUpdate@1 and enables pipelines that process previously stored files asynchronously — for example a polling analysis pipeline that picks up staged uploads for OCR and AI extraction.

Adapter Prerequisites

Node Configuration

For fields targetPath, targetValueWriteMode, and targetValueKind, see Overview.

transformations:
- type: GetFileSystemContent@1
rtIdPath: $.key.Attributes.FileRtId # JSON path to the RtId of the FileSystemItem to read
targetPath: $.pdf.data # The base64-encoded file content is stored here
fileNameTargetPath: $.pdf.fileName # Optional output path for the stored file name
contentTypeTargetPath: $.pdf.contentType # Optional output path for the stored content type
contentLengthTargetPath: $.pdf.length # Optional output path for the content length in bytes

Configuration Parameters

ParameterTypeRequiredDefaultDescription
rtIdPathstringYes-JSON path to the RtId of the System.Reporting/FileSystemItem whose content should be read
fileNameTargetPathstringNo-Output path for the stored file name
contentTypeTargetPathstringNo-Output path for the stored content type
contentLengthTargetPathstringNo-Output path for the content length in bytes

Error Handling

  • If the value at rtIdPath is not set, the node fails with a Value not set error
  • If no FileSystemItem with the given RtId exists, the node fails with Entity with RtId '…' not found
  • If the item has no stored binary content, the node fails with File system item '…' has no binary content

Example: Asynchronous document analysis

A staging pipeline stores uploads via CreateFileSystemUpdate@1 and records the file's RtId on a staging entity. A second pipeline (polling trigger) loads the content back and processes it:

triggers:
- type: FromPolling@1
interval: 00:05:00
transformations:
- type: GetRtEntitiesByType@1
ckTypeId: MyModel/UploadedDocument
fieldFilters:
- attributePath: ProcessingState
operator: Equals
comparisonValue: 0 # NEW
targetPath: $.pending
- type: ForEach@1
iterationPath: $.pending.Items
targetPath: $.processed
transformations:
- type: GetFileSystemContent@1
rtIdPath: $.key.Attributes.FileRtId
targetPath: $.pdf.data
- type: PdfOcrExtraction@1
path: $.pdf.data
targetPath: $.ocr.result
language: de