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

Raymond commented on NIFI-6619:
-------------------------------

[~hondawei]. Could be part of the solution as long as this reflected in the UI 
as well. Now the properties are sorted alphabetically (both in the processor as 
in the relationships).

I'm cautious though to make big changes in such often used processor. Maybe we 
could first make a separate processor with a "RouteByOrder" strategy to see how 
it behaves. I would like to test/contribute if needed.

> RouteOnAttribute: Create new Routing Strategy to route only first rule that 
> is true
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-6619
>                 URL: https://issues.apache.org/jira/browse/NIFI-6619
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 1.9.2
>            Reporter: Raymond
>            Priority: Major
>         Attachments: image-2019-09-12-22-15-51-027.png
>
>
> Currently the RouteOnAttribute has the strategy  "Route to Property name". 
> The behavior is that for each rule that is true a message (clone of flowfile) 
> will be sent to the next step. 
> I would like to have another strategy:
> "Route to first matched Property name" or "Route to Property name by first 
> match" or Route to first Property name which evaluates true".
> This will ensure that next step gets exactly one message.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to