Support Questions
Find answers, ask questions, and share your expertise

Drop and/or replace a flowfile with FetchFile contents

Contributor

I need to replace all of the contents of my flowfile with a file on the disk. Seems like FetchFile just adds the contents to the flowfile, is there a way to drop the contents of my flowfile first?

1 REPLY 1

Super Guru
@Andrew Riffle

Use ModifyBytes processor which will drop the contents of your flowfile.

Set the property value remove all content to true

Processor configs:-

83412-modify-bytes.png