lordgamez commented on a change in pull request #1054:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1054#discussion_r619044081



##########
File path: extensions/standard-processors/processors/GenerateFlowFile.cpp
##########
@@ -110,6 +119,15 @@ void GenerateFlowFile::onSchedule(const 
std::shared_ptr<core::ProcessContext> &c
     logger_->log_trace("Unique Flow files is configured to be %i", 
uniqueFlowFile_);
   }
 
+  if (textData_ && !uniqueFlowFile_) {
+    std::string custom_text;
+    context->getProperty(CustomText, custom_text, nullptr);
+    if (!custom_text.empty()) {
+      std::copy(custom_text.begin(), custom_text.end(), 
std::back_inserter(data_));

Review comment:
       Updated in 8b3702dd930f7b38cc744e3e1917b6c7380816b8




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to