[ 
https://issues.apache.org/jira/browse/NIFI-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15655839#comment-15655839
 ] 

ASF GitHub Bot commented on NIFI-2912:
--------------------------------------

Github user alopresto commented on the issue:

    https://github.com/apache/nifi/pull/1206
  
    @pvillard31 the only issue I encountered was that if a message is provided, 
the `File Size` field is still required, even though it is not used. In the 
custom validate method, can we either switch `File Size` required to `false` if 
`Custom Text` is populated, or provide a default value of `0B` for `File Size`?
    
    Other than that, seems very useful, and I verified the `contrib-check`, 
tests, and build & install process. 


> Processor to generate a flow file from a string
> -----------------------------------------------
>
>                 Key: NIFI-2912
>                 URL: https://issues.apache.org/jira/browse/NIFI-2912
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Alessio Palma
>            Assignee: Pierre Villard
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> Currently to build a flow file from a string we need ReplaceText and 
> GenerateFlowFile with a size of 0B. 
> Is here a way to have use only the GenerateFlowFile processor ? 
> This will be handy when you are using templates in workflows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to